pub struct AnimStore { /* private fields */ }Implementations§
Source§impl AnimStore
impl AnimStore
Sourcepub fn set_time(&mut self, now_secs: f64)
pub fn set_time(&mut self, now_secs: f64)
Sets the frame clock (monotonic seconds, any origin). Drivers call it before each frame; never calling it means transitions snap.
pub fn time(&self) -> Option<f64>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AnimStore
impl RefUnwindSafe for AnimStore
impl Send for AnimStore
impl Sync for AnimStore
impl Unpin for AnimStore
impl UnsafeUnpin for AnimStore
impl UnwindSafe for AnimStore
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