Struct simmons_rooms::Bathroom
[−]
[src]
pub struct Bathroom<'a> { pub number: RoomNumber<'a>, pub rooms: Vec<RoomNumber<'a>>, pub location: BathroomLocation, }
A bathroom.
Fields
number: RoomNumber<'a>
Even bathrooms have room numbers.
rooms: Vec<RoomNumber<'a>>
Which rooms do this bathroom service?
location: BathroomLocation
Where is this bathroom?
Trait Implementations
impl<'a> Clone for Bathroom<'a>
[src]
fn clone(&self) -> Bathroom<'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 Bathroom<'a>
[src]
impl<'a> Eq for Bathroom<'a>
[src]
impl<'a> PartialEq for Bathroom<'a>
[src]
fn eq(&self, __arg_0: &Bathroom<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Bathroom<'a>) -> bool
This method tests for !=
.