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
grt_section: GrtSection<'a>
The GRT section of this room.
capacity: Capacity
The capacity of this room.
size: SquareFeet
The size of this room.
view: View
Which side of Simmons this room looks out onto.
curviness: Curviness
How curvy the walls are.
bathroom: Bathroom<'a>
Which bathroom this room has.
Trait Implementations
impl<'a> Clone for Room<'a>
[src]
fn clone(&self) -> Room<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a> Debug for Room<'a>
[src]
impl<'a> Eq for Room<'a>
[src]
impl<'a> PartialEq for Room<'a>
[src]
fn eq(&self, __arg_0: &Room<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Room<'a>) -> bool
This method tests for !=
.