pub struct Skin<'a> {
pub name: Option<Cow<'a, str>>,
pub skeleton: Option<Idx<Node<'static>>>,
pub joints: Vec<Idx<Node<'static>>>,
pub inverse_bind_matrices: Option<Idx<Accessor<'static>>>,
pub extensions: Option<Extensions<'a>>,
pub extras: Option<Extras<'a>>,
}Expand description
Joints and matrices defining a skin.
Fields§
§name: Option<Cow<'a, str>>The user-defined name of this object.
skeleton: Option<Idx<Node<'static>>>The index of the node used as a skeleton root.
joints: Vec<Idx<Node<'static>>>Indices of skeleton nodes, used as joints in this skin.
inverse_bind_matrices: Option<Idx<Accessor<'static>>>The index of the accessor containing the floating-point 4x4 inverse-bind matrices.
extensions: Option<Extensions<'a>>§extras: Option<Extras<'a>>Implementations§
Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for Skin<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Skin<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a> Freeze for Skin<'a>
impl<'a> RefUnwindSafe for Skin<'a>
impl<'a> Send for Skin<'a>
impl<'a> Sync for Skin<'a>
impl<'a> Unpin for Skin<'a>
impl<'a> UnsafeUnpin for Skin<'a>
impl<'a> UnwindSafe for Skin<'a>
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