Enum trit::Trit [] [src]

pub enum Trit {
    True,
    False,
    Both,
}

Used to denote a trinary value (True, False, or Both)

Variants

Methods

impl Trit
[src]

[src]

Returns true if self is True or Both

[src]

Returns true if self is False or Both

[src]

Tests if self is True

[src]

Tests if self is False

[src]

Tests if self is both

Trait Implementations

impl PartialEq for Trit
[src]

[src]

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

1.0.0
[src]

This method tests for !=.