Enum tsz::Bit [] [src]

pub enum Bit {
    Zero,
    One,
}

Bit

An enum used to represent a single bit, can be either Zero or One.

Variants

Methods

impl Bit
[src]

Convert a bit to u64, so Zero becomes 0 and One becomes 1.

Trait Implementations

impl Debug for Bit
[src]

Formats the value using the given formatter.

impl PartialEq for Bit
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.