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 duplicate 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<'de> Deserialize<'de> for TimelineId
impl<'de> Deserialize<'de> for TimelineId
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TimelineId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TimelineId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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
Source§impl Serialize for TimelineId
impl Serialize for TimelineId
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<AttrVal> for TimelineId
impl TryFrom<AttrVal> for TimelineId
Source§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 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