snarkvm_console_collections::environment

Trait SizeInDataBits

Source
pub trait SizeInDataBits {
    // Required method
    fn size_in_data_bits() -> usize;
}

Required Methods§

Source

fn size_in_data_bits() -> usize

Returns the capacity for data bits.

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.

Implementors§

Source§

impl<E> SizeInDataBits for Boolean<E>
where E: Environment,

Source§

impl<E> SizeInDataBits for Field<E>
where E: Environment,

Source§

impl<E> SizeInDataBits for Scalar<E>
where E: Environment,