pub struct CurrentTime(/* private fields */);Expand description
Information that will be handed to the [on_tick] closure continously
Trait Implementations§
Source§impl Clone for CurrentTime
impl Clone for CurrentTime
Source§fn clone(&self) -> CurrentTime
fn clone(&self) -> CurrentTime
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 moreSource§impl Debug for CurrentTime
impl Debug for CurrentTime
Source§impl<'de> Deserialize<'de> for CurrentTime
impl<'de> Deserialize<'de> for CurrentTime
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CurrentTime
impl Display for CurrentTime
Auto Trait Implementations§
impl Freeze for CurrentTime
impl RefUnwindSafe for CurrentTime
impl Send for CurrentTime
impl Sync for CurrentTime
impl Unpin for CurrentTime
impl UnsafeUnpin for CurrentTime
impl UnwindSafe for CurrentTime
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