pub struct Bone { /* private fields */ }Expand description
One joint’s rest pivot, measured in its parent’s rotated local coordinates.
A bone has no implicit length, artwork, scale, or skinning weights. Attach a
child at an offset to establish a limb, and draw between the solved pivots or
attach artwork using BoneTransform::apply. Root offsets use skeleton space.
Implementations§
Trait Implementations§
impl Copy for Bone
impl StructuralPartialEq for Bone
Auto Trait Implementations§
impl Forget for Bone
impl Freeze for Bone
impl Move for Bone
impl RefUnwindSafe for Bone
impl Send for Bone
impl Sync for Bone
impl Unpin for Bone
impl UnsafeUnpin for Bone
impl UnwindSafe for Bone
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