pub struct Clock {
pub frequency: u32,
pub power: PoweredClock,
}Expand description
Information regarding a system clock
Fields§
§frequency: u32The frequency, in Hz, of the given clock
power: PoweredClockThe power state of the clock, e.g. whether it is active in deep sleep mode or not.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Clock
impl RefUnwindSafe for Clock
impl Send for Clock
impl Sync for Clock
impl Unpin for Clock
impl UnwindSafe for Clock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more