pub struct EmbassyTimebase { /* private fields */ }Implementations§
Source§impl EmbassyTimebase
impl EmbassyTimebase
pub fn capture_now() -> Self
pub fn start_at(logical_start: InstantMillis) -> Self
pub fn now(&self) -> InstantMillis
Trait Implementations§
Source§impl Clone for EmbassyTimebase
impl Clone for EmbassyTimebase
Source§fn clone(&self) -> EmbassyTimebase
fn clone(&self) -> EmbassyTimebase
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EmbassyTimebase
Source§impl Debug for EmbassyTimebase
impl Debug for EmbassyTimebase
impl Eq for EmbassyTimebase
Source§impl PartialEq for EmbassyTimebase
impl PartialEq for EmbassyTimebase
impl StructuralPartialEq for EmbassyTimebase
Auto Trait Implementations§
impl Freeze for EmbassyTimebase
impl RefUnwindSafe for EmbassyTimebase
impl Send for EmbassyTimebase
impl Sync for EmbassyTimebase
impl Unpin for EmbassyTimebase
impl UnsafeUnpin for EmbassyTimebase
impl UnwindSafe for EmbassyTimebase
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