pub struct SkinWeights {
pub joints: [u16; 4],
pub weights: [f32; 4],
}Fields§
§joints: [u16; 4]§weights: [f32; 4]Implementations§
Source§impl SkinWeights
impl SkinWeights
pub fn rigid(joint: u16) -> SkinWeights
Trait Implementations§
Source§impl Clone for SkinWeights
impl Clone for SkinWeights
Source§fn clone(&self) -> SkinWeights
fn clone(&self) -> SkinWeights
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 moreSource§impl Debug for SkinWeights
impl Debug for SkinWeights
impl Copy for SkinWeights
Auto Trait Implementations§
impl Freeze for SkinWeights
impl RefUnwindSafe for SkinWeights
impl Send for SkinWeights
impl Sync for SkinWeights
impl Unpin for SkinWeights
impl UnwindSafe for SkinWeights
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