Enum rusty_spine::EventType
source · pub enum EventType {
Start = 0,
Interrupt = 1,
End = 2,
Complete = 3,
Dispose = 4,
Event = 5,
Unknown = 99,
}
Expand description
The variants of event types.
Usually not necessary to check, instead use the variants of AnimationEvent
.
Variants§
Trait Implementations§
source§impl From<u32> for EventType
impl From<u32> for EventType
source§fn from(event_type: spEventType) -> Self
fn from(event_type: spEventType) -> Self
Converts to this type from the input type.
source§impl PartialEq for EventType
impl PartialEq for EventType
impl Copy for EventType
impl Eq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl Freeze for EventType
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnwindSafe for EventType
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