Struct BlendPoint2D
#[repr(C)]pub struct BlendPoint2D {
pub pos: [f32; 2],
pub clip_index: u16,
pub playback_speed: f32,
}Expand description
A 2D parameter sample point inside a BlendSpace2D.
Fields§
§pos: [f32; 2]2D parameter coordinates [x, y] (e.g. [strafe_x, forward_z]).
clip_index: u16Clip index in the character’s animation clip table.
playback_speed: f32Playback speed multiplier (1.0 = authored speed).
Trait Implementations§
§impl Clone for BlendPoint2D
impl Clone for BlendPoint2D
§fn clone(&self) -> BlendPoint2D
fn clone(&self) -> BlendPoint2D
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 moreimpl Copy for BlendPoint2D
§impl Debug for BlendPoint2D
impl Debug for BlendPoint2D
§impl Default for BlendPoint2D
impl Default for BlendPoint2D
§fn default() -> BlendPoint2D
fn default() -> BlendPoint2D
Returns the “default value” for a type. Read more
§impl PartialEq for BlendPoint2D
impl PartialEq for BlendPoint2D
impl StructuralPartialEq for BlendPoint2D
Auto Trait Implementations§
impl Freeze for BlendPoint2D
impl RefUnwindSafe for BlendPoint2D
impl Send for BlendPoint2D
impl Sync for BlendPoint2D
impl Unpin for BlendPoint2D
impl UnsafeUnpin for BlendPoint2D
impl UnwindSafe for BlendPoint2D
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.