Struct tracing_modality::TimelineId
source · pub struct TimelineId(/* private fields */);
Expand description
Timelines are identified by a UUID. These are timeline instances; a given location (identified by its name) is associated with many timelines.
Implementations§
source§impl TimelineId
impl TimelineId
pub fn zero() -> TimelineId
pub fn allocate() -> TimelineId
pub fn get_raw(&self) -> &Uuid
Trait Implementations§
source§impl Clone for TimelineId
impl Clone for TimelineId
source§fn clone(&self) -> TimelineId
fn clone(&self) -> TimelineId
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 TimelineId
impl Debug for TimelineId
source§impl<'b> Decode<'b> for TimelineId
impl<'b> Decode<'b> for TimelineId
source§impl Display for TimelineId
impl Display for TimelineId
source§impl Encode for TimelineId
impl Encode for TimelineId
source§impl From<Uuid> for TimelineId
impl From<Uuid> for TimelineId
source§fn from(uuid: Uuid) -> TimelineId
fn from(uuid: Uuid) -> TimelineId
Converts to this type from the input type.
source§impl Hash for TimelineId
impl Hash for TimelineId
source§impl Ord for TimelineId
impl Ord for TimelineId
source§fn cmp(&self, other: &TimelineId) -> Ordering
fn cmp(&self, other: &TimelineId) -> Ordering
1.21.0 · 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
source§impl PartialEq for TimelineId
impl PartialEq for TimelineId
source§impl PartialOrd for TimelineId
impl PartialOrd for TimelineId
impl Copy for TimelineId
impl Eq for TimelineId
impl StructuralPartialEq for TimelineId
Auto Trait Implementations§
impl Freeze for TimelineId
impl RefUnwindSafe for TimelineId
impl Send for TimelineId
impl Sync for TimelineId
impl Unpin 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)