pub trait SizeInBits {
    // Required method
    fn size_in_bits() -> usize;
}

Required Methods§

fn size_in_bits() -> usize

Returns the size in bits.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<N> SizeInBits for ComputeKey<N>
where N: Network,

source§

fn size_in_bits() -> usize

Returns the compute key size in bits.

Implementors§

§

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

§

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

§

impl<E> SizeInBits for Address<E>
where E: Environment,

§

impl<E> SizeInBits for Group<E>
where E: Environment,

§

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

§

impl<E, I> SizeInBits for Integer<E, I>
where E: Environment, I: IntegerType,

source§

impl<N> SizeInBits for Signature<N>
where N: Network,