Trait snarkvm_circuit::SizeInBits
source · pub trait SizeInBits {
// Required method
fn size_in_bits() -> usize;
}
Required Methods§
sourcefn size_in_bits() -> usize
fn size_in_bits() -> usize
Returns the size in bits.
Implementations on Foreign Types§
source§impl<E> SizeInBits for Address<E>where
E: Environment,
impl<E> SizeInBits for Address<E>where E: Environment,
source§fn size_in_bits() -> usize
fn size_in_bits() -> usize
Returns the address size in bits.
source§impl<E> SizeInBits for Boolean<E>where
E: Environment,
impl<E> SizeInBits for Boolean<E>where E: Environment,
source§fn size_in_bits() -> usize
fn size_in_bits() -> usize
Returns the field size in bits.
source§impl<E> SizeInBits for Field<E>where
E: Environment,
impl<E> SizeInBits for Field<E>where E: Environment,
source§fn size_in_bits() -> usize
fn size_in_bits() -> usize
Returns the field size in bits.
source§impl<E> SizeInBits for Group<E>where
E: Environment,
impl<E> SizeInBits for Group<E>where E: Environment,
source§fn size_in_bits() -> usize
fn size_in_bits() -> usize
Returns the group size in bits.
source§impl<E> SizeInBits for Scalar<E>where
E: Environment,
impl<E> SizeInBits for Scalar<E>where E: Environment,
source§fn size_in_bits() -> usize
fn size_in_bits() -> usize
Returns the scalar size in bits.
source§impl<E, I> SizeInBits for Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> SizeInBits for Integer<E, I>where E: Environment, I: IntegerType,
source§fn size_in_bits() -> usize
fn size_in_bits() -> usize
Returns the integer size in bits.