Enum gltf::mesh::util::ReadIndices
source · pub enum ReadIndices<'a> {
U8(Iter<'a, u8>),
U16(Iter<'a, u16>),
U32(Iter<'a, u32>),
}
Expand description
Index data.
Variants§
U8(Iter<'a, u8>)
Index data of type U8
U16(Iter<'a, u16>)
Index data of type U16
U32(Iter<'a, u32>)
Index data of type U32
Implementations§
source§impl<'a> ReadIndices<'a>
impl<'a> ReadIndices<'a>
sourcepub fn into_u32(self) -> CastingIter<'a, U32> ⓘ
pub fn into_u32(self) -> CastingIter<'a, U32> ⓘ
Reinterpret indices as u32, which can fit any possible index.
Trait Implementations§
source§impl<'a> Clone for ReadIndices<'a>
impl<'a> Clone for ReadIndices<'a>
source§fn clone(&self) -> ReadIndices<'a>
fn clone(&self) -> ReadIndices<'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 ReadIndices<'a>
impl<'a> Send for ReadIndices<'a>
impl<'a> Sync for ReadIndices<'a>
impl<'a> Unpin for ReadIndices<'a>
impl<'a> UnwindSafe for ReadIndices<'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