pub struct AnimState {
pub name: String,
pub animation: String,
pub speed: f32,
}Expand description
A state in the animation state machine.
Fields§
§name: String§animation: StringWhich animation to play in this state.
speed: f32Speed multiplier for this state.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AnimState
impl RefUnwindSafe for AnimState
impl Send for AnimState
impl Sync for AnimState
impl Unpin for AnimState
impl UnsafeUnpin for AnimState
impl UnwindSafe for AnimState
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