Enum efficient_enum::TwoOptions [] [src]

pub enum TwoOptions {
    Zero,
    One,
}

An enum with 2 options

Variants

Trait Implementations

impl Clone for TwoOptions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for TwoOptions
[src]

impl Debug for TwoOptions
[src]

Formats the value using the given formatter.

impl PartialEq for TwoOptions
[src]

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

This method tests for !=.

impl Eq for TwoOptions
[src]