pub struct AnimationEvents(pub u8);Expand description
Which moments of an animation are reported back as AnimationEvents. None, the
default, means the animation plays to its end without a single call to the Host.
Tuple Fields§
§0: u8Implementations§
Source§impl AnimationEvents
impl AnimationEvents
pub const NONE: Self
pub const READY: Self
pub const ACTIVE: Self
pub const ITERATION: Self
pub const END: Self
Sourcepub const ALL: Self
pub const ALL: Self
Every kind there is. A bit outside these is a record the sides disagree about.
pub const fn union(self, other: Self) -> Self
pub const fn contains(self, other: Self) -> bool
Trait Implementations§
Source§impl Clone for AnimationEvents
impl Clone for AnimationEvents
impl Copy for AnimationEvents
Source§impl Debug for AnimationEvents
impl Debug for AnimationEvents
Source§impl Default for AnimationEvents
impl Default for AnimationEvents
impl Eq for AnimationEvents
Source§impl PartialEq for AnimationEvents
impl PartialEq for AnimationEvents
impl StructuralPartialEq for AnimationEvents
Auto Trait Implementations§
impl Freeze for AnimationEvents
impl RefUnwindSafe for AnimationEvents
impl Send for AnimationEvents
impl Sync for AnimationEvents
impl Unpin for AnimationEvents
impl UnsafeUnpin for AnimationEvents
impl UnwindSafe for AnimationEvents
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