Enum quine_mc_cluskey::Bool [] [src]

pub enum Bool {
    True,
    False,
    Term(u8),
    And(Vec<Bool>),
    Or(Vec<Bool>),
    Not(Box<Bool>),
}

Variants

can be any number in 0..32, anything else will cause panics or wrong results

needs to contain at least two elements

needs to contain at least two elements

Methods

impl Bool
[src]

Trait Implementations

impl Eq for Bool
[src]

impl Clone for Bool
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Bool
[src]

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

This method tests for !=.

impl Not for Bool
[src]

The resulting type after applying the ! operator

The method for the unary ! operator

impl BitAnd for Bool
[src]

The resulting type after applying the & operator

The method for the & operator

impl BitOr for Bool
[src]

The resulting type after applying the | operator

The method for the | operator

impl Debug for Bool
[src]

Formats the value using the given formatter.