pub struct TimelineInspector { /* private fields */ }Expand description
Live animation timeline inspector.
Implementations§
Source§impl TimelineInspector
impl TimelineInspector
Sourcepub fn capture(&mut self, driver: &AnimationDriver)
pub fn capture(&mut self, driver: &AnimationDriver)
Capture all inspectable animations from a driver.
Sourcepub fn capture_into(&self, out: &mut Vec<AnimationSnapshot>)
pub fn capture_into(&self, out: &mut Vec<AnimationSnapshot>)
Write snapshots into a reusable output buffer.
Sourcepub fn snapshots(&self) -> &[AnimationSnapshot]
pub fn snapshots(&self) -> &[AnimationSnapshot]
Captured snapshots.
Sourcepub fn active_count(&self) -> usize
pub fn active_count(&self) -> usize
Number of currently active inspectable animations.
Sourcepub fn completed_count(&self) -> usize
pub fn completed_count(&self) -> usize
Number of animations completed by the driver.
Trait Implementations§
Source§impl Clone for TimelineInspector
impl Clone for TimelineInspector
Source§fn clone(&self) -> TimelineInspector
fn clone(&self) -> TimelineInspector
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TimelineInspector
impl Debug for TimelineInspector
Source§impl Default for TimelineInspector
impl Default for TimelineInspector
Source§fn default() -> TimelineInspector
fn default() -> TimelineInspector
Returns the “default value” for a type. Read more
Source§impl PartialEq for TimelineInspector
impl PartialEq for TimelineInspector
impl StructuralPartialEq for TimelineInspector
Auto Trait Implementations§
impl Freeze for TimelineInspector
impl RefUnwindSafe for TimelineInspector
impl Send for TimelineInspector
impl Sync for TimelineInspector
impl Unpin for TimelineInspector
impl UnsafeUnpin for TimelineInspector
impl UnwindSafe for TimelineInspector
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