| 18 | #[allow(clippy::enum_variant_names)] |
| 19 | #[allow(clippy::large_enum_variant)] |
| 20 | pub 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>`. |
| 35 | macro_rules! impl_try_from_element { |
nothing calls this directly
no outgoing calls
no test coverage detected