pub trait AsBytes {
// Required method
fn as_bytes(&self) -> Vec<u8> ⓘ;
}
Expand description
Serialize function without args Used for serialization when formatting options are not relevant
Required Methods§
Implementations on Foreign Types§
Implementors§
impl AsBytes for FieldElement<Degree4BabyBearExtensionField>
Available on crate feature
alloc
only.impl AsBytes for FieldElement<Degree4BabyBearU32ExtensionField>
Available on crate feature
alloc
only.impl<E> AsBytes for ShortWeierstrassProjectivePoint<E>
Available on crate feature
alloc
only.impl<M, const NUM_LIMBS: usize> AsBytes for FieldElement<MontgomeryBackendPrimeField<M, NUM_LIMBS>>
Available on crate feature
alloc
only.impl<const MODULUS: u32> AsBytes for FieldElement<U32MontgomeryBackendPrimeField<MODULUS>>
Available on crate feature
alloc
only.impl<const NUM_LIMBS: usize> AsBytes for UnsignedInteger<NUM_LIMBS>
Available on crate feature
alloc
only.