pub struct TimelineId(/* private fields */);Implementations§
Source§impl TimelineId
impl TimelineId
Sourcepub const fn index(self) -> usize
pub const fn index(self) -> usize
The position of the timeline in Plan::timelines.
Trait Implementations§
Source§impl Clone for TimelineId
impl Clone for TimelineId
impl Copy for TimelineId
Source§impl Debug for TimelineId
impl Debug for TimelineId
impl Eq for TimelineId
Source§impl Hash for TimelineId
impl Hash for TimelineId
Source§impl Ord for TimelineId
impl Ord for TimelineId
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 PartialEq for TimelineId
impl PartialEq for TimelineId
Source§impl PartialOrd for TimelineId
impl PartialOrd for TimelineId
impl StructuralPartialEq for TimelineId
Auto Trait Implementations§
impl Forget for TimelineId
impl Freeze for TimelineId
impl Move for TimelineId
impl RefUnwindSafe for TimelineId
impl Send for TimelineId
impl Sync for TimelineId
impl Unpin for TimelineId
impl UnsafeUnpin for TimelineId
impl UnwindSafe for TimelineId
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