pub struct PLYAnimationHandle { /* private fields */ }Expand description
Handle that automatically stops a running animation once it is dropped.
Implementations§
Source§impl PLYAnimationHandle
impl PLYAnimationHandle
Sourcepub fn set_on_stop(&mut self, callback: PLYCallback<NSNumber>)
pub fn set_on_stop(&mut self, callback: PLYCallback<NSNumber>)
Sets a callback that will be invoked when the animation stops.
Trait Implementations§
Source§impl Drop for PLYAnimationHandle
impl Drop for PLYAnimationHandle
Source§impl Raw for PLYAnimationHandle
impl Raw for PLYAnimationHandle
Auto Trait Implementations§
impl Freeze for PLYAnimationHandle
impl RefUnwindSafe for PLYAnimationHandle
impl !Send for PLYAnimationHandle
impl !Sync for PLYAnimationHandle
impl Unpin for PLYAnimationHandle
impl UnsafeUnpin for PLYAnimationHandle
impl UnwindSafe for PLYAnimationHandle
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