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.
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<N> SizeInBits for ComputeKey<N>where
N: Network,
impl<N> SizeInBits for ComputeKey<N>where
N: Network,
Source§fn size_in_bits() -> usize
fn size_in_bits() -> usize
Returns the compute key size in bits.