Enum gltf::mesh::util::ReadJoints
source · pub enum ReadJoints<'a> {
U8(Iter<'a, [u8; 4]>),
U16(Iter<'a, [u16; 4]>),
}
Expand description
Vertex joints.
Variants§
U8(Iter<'a, [u8; 4]>)
Joints of type [u8; 4]
.
Refer to the documentation on morph targets and skins for more
information.
U16(Iter<'a, [u16; 4]>)
Joints of type [u16; 4]
.
Refer to the documentation on morph targets and skins for more
information.
Implementations§
source§impl<'a> ReadJoints<'a>
impl<'a> ReadJoints<'a>
sourcepub fn into_u16(self) -> CastingIter<'a, U16> ⓘ
pub fn into_u16(self) -> CastingIter<'a, U16> ⓘ
Reinterpret joints as u16, which can fit any possible joint.
Trait Implementations§
source§impl<'a> Clone for ReadJoints<'a>
impl<'a> Clone for ReadJoints<'a>
source§fn clone(&self) -> ReadJoints<'a>
fn clone(&self) -> ReadJoints<'a>
Returns a copy 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 moreAuto Trait Implementations§
impl<'a> RefUnwindSafe for ReadJoints<'a>
impl<'a> Send for ReadJoints<'a>
impl<'a> Sync for ReadJoints<'a>
impl<'a> Unpin for ReadJoints<'a>
impl<'a> UnwindSafe for ReadJoints<'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