pub trait IntoBytes<E: Engine> {
// Provided methods
fn encoding_len() -> usize { ... }
fn into_le_bytes<CS: ConstraintSystem<E>>(
&self,
cs: &mut CS,
) -> Result<Vec<Byte<E>>, SynthesisError> { ... }
fn into_be_bytes<CS: ConstraintSystem<E>>(
&self,
cs: &mut CS,
) -> Result<Vec<Byte<E>>, SynthesisError> { ... }
}
Provided Methods§
fn encoding_len() -> usize
fn into_le_bytes<CS: ConstraintSystem<E>>( &self, cs: &mut CS, ) -> Result<Vec<Byte<E>>, SynthesisError>
fn into_be_bytes<CS: ConstraintSystem<E>>( &self, cs: &mut CS, ) -> Result<Vec<Byte<E>>, SynthesisError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.