pub struct TimePoint(pub usize);Expand description
Handle of a time point inside one network.
Handles are dense indices starting at zero, in creation order. A handle is only meaningful for the network that created it, and for structures derived from that network (minimal and dispatchable networks, dispatchers).
Tuple Fields§
§0: usizeTrait Implementations§
impl Copy for TimePoint
impl Eq for TimePoint
Source§impl Ord for TimePoint
impl Ord for TimePoint
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for TimePoint
impl PartialOrd for TimePoint
impl StructuralPartialEq for TimePoint
Auto Trait Implementations§
impl Forget for TimePoint
impl Freeze for TimePoint
impl Move for TimePoint
impl RefUnwindSafe for TimePoint
impl Send for TimePoint
impl Sync for TimePoint
impl Unpin for TimePoint
impl UnsafeUnpin for TimePoint
impl UnwindSafe for TimePoint
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