snarkvm_console_account

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.

Implementations on Foreign Types§

Source§

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

Source§

fn size_in_data_bits() -> usize

Returns the field capacity for data bits.

Implementors§

Source§

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

Source§

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