pub struct ClockSource {
pub current: String,
pub available: Vec<String>,
}
Expand description
Contains currently active clock source and the available ones
Fields§
§current: String
§available: Vec<String>
Trait Implementations§
Source§impl Clone for ClockSource
impl Clone for ClockSource
Source§fn clone(&self) -> ClockSource
fn clone(&self) -> ClockSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ClockSource
impl RefUnwindSafe for ClockSource
impl Send for ClockSource
impl Sync for ClockSource
impl Unpin for ClockSource
impl UnwindSafe for ClockSource
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