Enum simmons_rooms::Capacity [] [src]

pub enum Capacity {
    Single,
    Double,
}

The capacity of a room.

Variants

The room can hold a single occupant.

The room can hold two occupants.

Trait Implementations

impl Clone for Capacity
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Capacity
[src]

Formats the value using the given formatter.

impl Eq for Capacity
[src]

impl PartialEq for Capacity
[src]

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

This method tests for !=.