pub struct TimelineId(pub(crate) usize);Expand description
The id of a timeline.
Tuple Fields§
§0: usizeImplementations§
Trait Implementations§
Source§impl AsRef<TimelineId> for TimelineId
impl AsRef<TimelineId> for TimelineId
Source§fn as_ref(&self) -> &TimelineId
fn as_ref(&self) -> &TimelineId
Converts this type into a shared reference of the (usually inferred) input type.
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§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 Hash for TimelineId
impl Hash for TimelineId
Source§impl PartialEq for TimelineId
impl PartialEq for TimelineId
Source§impl<'a> TimelineQuery<'a> for TimelineId
impl<'a> TimelineQuery<'a> for TimelineId
Source§type RessembleResult = &'a Timeline
type RessembleResult = &'a Timeline
The result of
TimelineQuery::ressembleSource§type RessembleMutResult = &'a mut Timeline
type RessembleMutResult = &'a mut Timeline
The result of
TimelineQuery::ressemble_mutSource§fn id(&self) -> TimelineId
fn id(&self) -> TimelineId
Get the id of the timeline.
Source§fn ressemble(self, timeline: &'a Timeline) -> Self::RessembleResult
fn ressemble(self, timeline: &'a Timeline) -> Self::RessembleResult
Ressemble the timeline.
Source§fn ressemble_mut(self, timeline: &'a mut Timeline) -> Self::RessembleMutResult
fn ressemble_mut(self, timeline: &'a mut Timeline) -> Self::RessembleMutResult
Ressemble the mutable timeline.
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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> StaticAnim for Twhere
T: StaticAnimRequirement + 'static,
impl<T> StaticAnim for Twhere
T: StaticAnimRequirement + 'static,
Source§fn show(&self) -> AnimationCell<T>
fn show(&self) -> AnimationCell<T>
Show the item
Source§fn hide(&self) -> AnimationCell<T>
fn hide(&self) -> AnimationCell<T>
Hide the item
Source§impl<'a, TQ> TimelineIndex<'a> for TQwhere
TQ: TimelineQuery<'a>,
impl<'a, TQ> TimelineIndex<'a> for TQwhere
TQ: TimelineQuery<'a>,
Source§type RefOutput = <TQ as TimelineQuery<'a>>::RessembleResult
type RefOutput = <TQ as TimelineQuery<'a>>::RessembleResult
Output of
TimelineIndex::get_index_refSource§type MutOutput = <TQ as TimelineQuery<'a>>::RessembleMutResult
type MutOutput = <TQ as TimelineQuery<'a>>::RessembleMutResult
Output of
TimelineIndex::get_index_mutSource§fn get_index_ref(
self,
timelines: &'a [Timeline],
) -> <TQ as TimelineIndex<'a>>::RefOutput
fn get_index_ref( self, timelines: &'a [Timeline], ) -> <TQ as TimelineIndex<'a>>::RefOutput
Get the reference of timeline(s) from
RanimScene by the TimelineIndex.Source§fn get_index_mut(
self,
timelines: &'a mut [Timeline],
) -> <TQ as TimelineIndex<'a>>::MutOutput
fn get_index_mut( self, timelines: &'a mut [Timeline], ) -> <TQ as TimelineIndex<'a>>::MutOutput
Get the mutable reference of timeline(s) from
RanimScene by the TimelineIndex.