pub struct AnimTransitionDef {
pub from_state: PlayerAnimState,
pub to_state: PlayerAnimState,
pub duration: f32,
pub blend_curve: BlendCurve,
}Expand description
Defines a transition between two animation states.
Fields§
§from_state: PlayerAnimState§to_state: PlayerAnimState§duration: f32§blend_curve: BlendCurveTrait Implementations§
Source§impl Clone for AnimTransitionDef
impl Clone for AnimTransitionDef
Source§fn clone(&self) -> AnimTransitionDef
fn clone(&self) -> AnimTransitionDef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AnimTransitionDef
impl RefUnwindSafe for AnimTransitionDef
impl Send for AnimTransitionDef
impl Sync for AnimTransitionDef
impl Unpin for AnimTransitionDef
impl UnsafeUnpin for AnimTransitionDef
impl UnwindSafe for AnimTransitionDef
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