pub struct M2Sequence {}Expand description
Sequence data for an animation
Fields§
§animation_id: u16Animation ID
sub_animation_id: u16SubAnimation ID
start: u32Start frame
end: u32End frame
movement_speed: f32Movement speed
flags: u32Flags
frequency: i16Frequency
padding: u16Padding
replay: M2AnimationRepeatReplay information
blend_time: u16Blend time
bounds: M2BoundsBounds
variation_next: i16Variation next
alias_next: u16Alias next
Implementations§
Source§impl M2Sequence
impl M2Sequence
Trait Implementations§
Source§impl Clone for M2Sequence
impl Clone for M2Sequence
Source§fn clone(&self) -> M2Sequence
fn clone(&self) -> M2Sequence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 M2Sequence
impl RefUnwindSafe for M2Sequence
impl Send for M2Sequence
impl Sync for M2Sequence
impl Unpin for M2Sequence
impl UnsafeUnpin for M2Sequence
impl UnwindSafe for M2Sequence
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more