Trait snarkvm_utilities::bits::ToBits [−][src]
pub trait ToBits: Sized { fn to_bits_le(&self) -> Vec<bool>ⓘ; fn to_bits_be(&self) -> Vec<bool>ⓘ; }
Required methods
Returns self
as a boolean array in little-endian order.
pub trait ToBits: Sized { fn to_bits_le(&self) -> Vec<bool>ⓘ; fn to_bits_be(&self) -> Vec<bool>ⓘ; }
Returns self
as a boolean array in little-endian order.