Trait gadgets::binary_number::AsBits
source · pub trait AsBits<const N: usize> {
// Required method
fn as_bits(&self) -> [bool; N];
}
Expand description
Helper trait that implements functionality to represent a generic type as array of N-bits.