Struct chain_time::timeline::TimeOffset  
source · pub struct TimeOffset(pub(crate) Duration);Expand description
Represent an offset in time units in the timeline
Tuple Fields§
§0: DurationTrait Implementations§
source§impl Clone for TimeOffset
 
impl Clone for TimeOffset
source§fn clone(&self) -> TimeOffset
 
fn clone(&self) -> TimeOffset
Returns a copy 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 moresource§impl Debug for TimeOffset
 
impl Debug for TimeOffset
source§impl From<TimeOffsetSeconds> for TimeOffset
 
impl From<TimeOffsetSeconds> for TimeOffset
source§fn from(v: TimeOffsetSeconds) -> TimeOffset
 
fn from(v: TimeOffsetSeconds) -> TimeOffset
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for TimeOffset
impl Send for TimeOffset
impl Sync for TimeOffset
impl Unpin for TimeOffset
impl UnwindSafe for TimeOffset
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