Struct modality_mutator_protocol::attrs::TimelineId
source · pub struct TimelineId(_);
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<TimelineId> for AttrVal
impl From<TimelineId> for AttrVal
source§fn from(timeline_id: TimelineId) -> AttrVal
fn from(timeline_id: TimelineId) -> AttrVal
Converts to this type from the input type.
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<TimelineId> for TimelineId
impl PartialEq<TimelineId> for TimelineId
source§fn eq(&self, other: &TimelineId) -> bool
fn eq(&self, other: &TimelineId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TimelineId> for TimelineId
impl PartialOrd<TimelineId> for TimelineId
source§fn partial_cmp(&self, other: &TimelineId) -> Option<Ordering>
fn partial_cmp(&self, other: &TimelineId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<AttrVal> for TimelineId
impl TryFrom<AttrVal> for TimelineId
§type Error = WrongAttrTypeError
type Error = WrongAttrTypeError
The type returned in the event of a conversion error.
source§fn try_from(
value: AttrVal
) -> Result<TimelineId, <TimelineId as TryFrom<AttrVal>>::Error>
fn try_from( value: AttrVal ) -> Result<TimelineId, <TimelineId as TryFrom<AttrVal>>::Error>
Performs the conversion.
impl Copy for TimelineId
impl Eq for TimelineId
impl StructuralEq for TimelineId
impl StructuralPartialEq for TimelineId
Auto Trait Implementations§
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