Enum gltf_utils::MorphWeights
[−]
[src]
pub enum MorphWeights<'a> { I8(AccessorIter<'a, i8>), U8(AccessorIter<'a, u8>), I16(AccessorIter<'a, i16>), U16(AccessorIter<'a, u16>), F32(AccessorIter<'a, f32>), }
Morph-target weight animations.
Variants
I8(AccessorIter<'a, i8>)
Weights of type i8
.
U8(AccessorIter<'a, u8>)
Weights of type u8
.
I16(AccessorIter<'a, i16>)
Weights of type i16
.
U16(AccessorIter<'a, u16>)
Weights of type u16
.
F32(AccessorIter<'a, f32>)
Weights of type f32
.
Methods
impl<'a> MorphWeights<'a>
[src]
ⓘImportant traits for CastingIter<'a, A>pub fn into_i8(self) -> CastingIter<'a, I8>
[src]
ⓘImportant traits for CastingIter<'a, A>
Reinterpret morph weights as u16. Lossy if underlying iterator yields u8, i16, u16 or f32.
ⓘImportant traits for CastingIter<'a, A>pub fn into_u8(self) -> CastingIter<'a, U8>
[src]
ⓘImportant traits for CastingIter<'a, A>
Reinterpret morph weights as u16. Lossy if underlying iterator yields i16, u16 or f32.
ⓘImportant traits for CastingIter<'a, A>pub fn into_i16(self) -> CastingIter<'a, I16>
[src]
ⓘImportant traits for CastingIter<'a, A>
Reinterpret morph weights as u16. Lossy if underlying iterator yields u16 or f32.
ⓘImportant traits for CastingIter<'a, A>pub fn into_u16(self) -> CastingIter<'a, U16>
[src]
ⓘImportant traits for CastingIter<'a, A>
Reinterpret morph weights as u16. Lossy if underlying iterator yields f32.
ⓘImportant traits for CastingIter<'a, A>pub fn into_f32(self) -> CastingIter<'a, F32>
[src]
ⓘImportant traits for CastingIter<'a, A>
Reinterpret morph weights as f32. Lossy if underlying iterator yields i16 or u16.
Trait Implementations
impl<'a> Clone for MorphWeights<'a>
[src]
fn clone(&self) -> MorphWeights<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more