Enum rusty_spine::Physics
source · pub enum Physics {
None = 0,
Reset = 1,
Update = 2,
Pose = 3,
Unknown = 99,
}
Expand description
Determines how physics and other non-deterministic updates are applied.
Variants§
None = 0
Physics are not updated or applied.
Reset = 1
Physics are reset to the current pose.
Update = 2
Physics are updated and the pose from physics is applied.
Pose = 3
Physics are not updated but the pose from physics is applied.
Unknown = 99
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Physics
impl RefUnwindSafe for Physics
impl Send for Physics
impl Sync for Physics
impl Unpin for Physics
impl UnwindSafe for Physics
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