Enum Bit
tsz
pub enum Bit { Zero, One, }
Bit
An enum used to represent a single bit, can be either Zero or One.
Zero
One
impl Bit
fn to_u64(self) -> u64
Convert a bit to u64, so Zero becomes 0 and One becomes 1.
impl Debug for Bit
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter.
impl PartialEq for Bit
fn eq(&self, __arg_0: &Bit) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
self
other
==
fn ne(&self, other: &Rhs) -> bool
This method tests for !=.
!=