Struct BlendSample2D
#[repr(C)]pub struct BlendSample2D {
pub clips: [u16; 3],
pub weights: [f32; 3],
}Expand description
Result of sampling a BlendSpace2D at a 2D parameter coordinate.
Fields§
§clips: [u16; 3]Up to 3 clip indices contributing to the blended pose.
weights: [f32; 3]Normalized barycentric weights summing to 1.0.
Trait Implementations§
§impl Clone for BlendSample2D
impl Clone for BlendSample2D
§fn clone(&self) -> BlendSample2D
fn clone(&self) -> BlendSample2D
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 BlendSample2D
§impl Debug for BlendSample2D
impl Debug for BlendSample2D
§impl Default for BlendSample2D
impl Default for BlendSample2D
§fn default() -> BlendSample2D
fn default() -> BlendSample2D
Returns the “default value” for a type. Read more
§impl PartialEq for BlendSample2D
impl PartialEq for BlendSample2D
impl StructuralPartialEq for BlendSample2D
Auto Trait Implementations§
impl Freeze for BlendSample2D
impl RefUnwindSafe for BlendSample2D
impl Send for BlendSample2D
impl Sync for BlendSample2D
impl Unpin for BlendSample2D
impl UnsafeUnpin for BlendSample2D
impl UnwindSafe for BlendSample2D
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