Trait SerializableEmulatedStruct

Source
pub trait SerializableEmulatedStruct<F: PrimeField> {
    // Required method
    fn serialize_to_native_elements(&self) -> Vec<F>;
}
Expand description

A struct that can be serialized into Vec of field elements.

Required Methods§

Source

fn serialize_to_native_elements(&self) -> Vec<F>

Serialize into a Vec of field elements.

Implementors§

Source§

impl<E, F> SerializableEmulatedStruct<F> for SWPoint<E>
where E: EmulationConfig<F>, F: PrimeField,

Source§

impl<E, F> SerializableEmulatedStruct<F> for TEPoint<E>
where E: EmulationConfig<F>, F: PrimeField,