Struct simmons_rooms::Room [] [src]

pub struct Room<'a> {
    pub grt_section: GrtSection<'a>,
    pub capacity: Capacity,
    pub size: SquareFeet,
    pub view: View,
    pub curviness: Curviness,
    pub bathroom: Bathroom<'a>,
}

A room.

Fields

The GRT section of this room.

The capacity of this room.

The size of this room.

Which side of Simmons this room looks out onto.

How curvy the walls are.

Which bathroom this room has.

Trait Implementations

impl<'a> Clone for Room<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for Room<'a>
[src]

Formats the value using the given formatter.

impl<'a> Eq for Room<'a>
[src]

impl<'a> PartialEq for Room<'a>
[src]

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

This method tests for !=.

impl<'a> Display for Room<'a>
[src]

Formats the value using the given formatter. Read more