Enum gltf::animation::util::MorphTargetWeights [−][src]
pub enum MorphTargetWeights<'a> {
I8(Iter<'a, i8>),
U8(Iter<'a, u8>),
I16(Iter<'a, i16>),
U16(Iter<'a, u16>),
F32(Iter<'a, f32>),
}
Expand description
Morph-target weight animations.
Variants
I8(Iter<'a, i8>)
Weights of type i8
.
U8(Iter<'a, u8>)
Weights of type u8
.
I16(Iter<'a, i16>)
Weights of type i16
.
U16(Iter<'a, u16>)
Weights of type u16
.
F32(Iter<'a, f32>)
Weights of type f32
.
Implementations
pub fn into_i8(self) -> CastingIter<'a, I8>ⓘNotable traits for CastingIter<'a, A>impl<'a, A: Cast> Iterator for CastingIter<'a, A> type Item = A::Output;
pub fn into_i8(self) -> CastingIter<'a, I8>ⓘNotable traits for CastingIter<'a, A>impl<'a, A: Cast> Iterator for CastingIter<'a, A> type Item = A::Output;
Notable traits for CastingIter<'a, A>
impl<'a, A: Cast> Iterator for CastingIter<'a, A> type Item = A::Output;
Reinterpret morph weights as u16. Lossy if underlying iterator yields u8, i16, u16 or f32.
pub fn into_u8(self) -> CastingIter<'a, U8>ⓘNotable traits for CastingIter<'a, A>impl<'a, A: Cast> Iterator for CastingIter<'a, A> type Item = A::Output;
pub fn into_u8(self) -> CastingIter<'a, U8>ⓘNotable traits for CastingIter<'a, A>impl<'a, A: Cast> Iterator for CastingIter<'a, A> type Item = A::Output;
Notable traits for CastingIter<'a, A>
impl<'a, A: Cast> Iterator for CastingIter<'a, A> type Item = A::Output;
Reinterpret morph weights as u16. Lossy if underlying iterator yields i16, u16 or f32.
pub fn into_i16(self) -> CastingIter<'a, I16>ⓘNotable traits for CastingIter<'a, A>impl<'a, A: Cast> Iterator for CastingIter<'a, A> type Item = A::Output;
pub fn into_i16(self) -> CastingIter<'a, I16>ⓘNotable traits for CastingIter<'a, A>impl<'a, A: Cast> Iterator for CastingIter<'a, A> type Item = A::Output;
Notable traits for CastingIter<'a, A>
impl<'a, A: Cast> Iterator for CastingIter<'a, A> type Item = A::Output;
Reinterpret morph weights as u16. Lossy if underlying iterator yields u16 or f32.
pub fn into_u16(self) -> CastingIter<'a, U16>ⓘNotable traits for CastingIter<'a, A>impl<'a, A: Cast> Iterator for CastingIter<'a, A> type Item = A::Output;
pub fn into_u16(self) -> CastingIter<'a, U16>ⓘNotable traits for CastingIter<'a, A>impl<'a, A: Cast> Iterator for CastingIter<'a, A> type Item = A::Output;
Notable traits for CastingIter<'a, A>
impl<'a, A: Cast> Iterator for CastingIter<'a, A> type Item = A::Output;
Reinterpret morph weights as u16. Lossy if underlying iterator yields f32.
pub fn into_f32(self) -> CastingIter<'a, F32>ⓘNotable traits for CastingIter<'a, A>impl<'a, A: Cast> Iterator for CastingIter<'a, A> type Item = A::Output;
pub fn into_f32(self) -> CastingIter<'a, F32>ⓘNotable traits for CastingIter<'a, A>impl<'a, A: Cast> Iterator for CastingIter<'a, A> type Item = A::Output;
Notable traits for CastingIter<'a, A>
impl<'a, A: Cast> Iterator for CastingIter<'a, A> type Item = A::Output;
Reinterpret morph weights as f32. Lossy if underlying iterator yields i16 or u16.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for MorphTargetWeights<'a>
impl<'a> Send for MorphTargetWeights<'a>
impl<'a> Sync for MorphTargetWeights<'a>
impl<'a> Unpin for MorphTargetWeights<'a>
impl<'a> UnwindSafe for MorphTargetWeights<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more