MCPcopy Create free account
hub / github.com/BitVM/BitVM / DataType

Enum DataType

bitvm/src/chunk/elements.rs:20–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18#[allow(clippy::enum_variant_names)]
19#[allow(clippy::large_enum_variant)]
20pub enum DataType {
21 /// Fp6 elements
22 Fp6Data(ark_bn254::Fq6),
23
24 /// point accumulator and partial products (Refer: ElementType)
25 G2EvalData(ElemG2Eval),
26
27 /// G1Affine points
28 G1Data(ark_bn254::G1Affine),
29
30 /// BigIntegers - Field & Scalar elements
31 U256Data(ark_ff::BigInt<4>),
32}
33
34/// Helper macro to reduce repetitive code for `TryFrom<Element>`.
35macro_rules! impl_try_from_element {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected