pub fn minutes_asleep(&self) -> Vec<(u32, u32)> {
        let mut m = Vec::new();

        for x in self.sleep_periods.iter() {
            m.extend(x.minutes_asleep());
        }

        m
    }
// Returns a vector of all the minutes we have been asleep at.
Returns a vector of all the minutes we have been asleep at.
Returns a vector of all the minutes we have been asleep at .
pub fn minutes_asleep(&self) -> Vec<(u32, u32)> {
        let mut m = Vec::new();
        for x in self.sleep_periods.iter() {
            m.extend(x.minutes_asleep());
        }
        m
    }
pub fn minutes_asleep ( & self ) -> Vec < ( u32 , u32 ) > { let mut m = Vec :: new ( ) ; for x in self . sleep_periods . iter ( ) { m . extend ( x . minutes_asleep ( ) ) ; } m }
Returns a vector of all the minutes we have been asleep at.
Returns a vector of all the minutes we have been asleep at .
&self
&self