pub enum VertexIndices<'a> {
Sequential,
U8(&'a [u8]),
U16(&'a [u16]),
U32(&'a [u32]),
}
Variants§
Sequential
Vertices are rendered in sequential order.
U8(&'a [u8])
u8
vertex indices.
U16(&'a [u16])
u16
vertex indices.
U32(&'a [u32])
Trait Implementations§
Source§impl<'a> Clone for VertexIndices<'a>
impl<'a> Clone for VertexIndices<'a>
Source§fn clone(&self) -> VertexIndices<'a>
fn clone(&self) -> VertexIndices<'a>
Returns a duplicate 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 moreSource§impl<'a> Debug for VertexIndices<'a>
impl<'a> Debug for VertexIndices<'a>
Source§impl<'a> From<&'a [i32]> for VertexIndices<'a>
impl<'a> From<&'a [i32]> for VertexIndices<'a>
Source§impl<'a> From<&'a [u16]> for VertexIndices<'a>
impl<'a> From<&'a [u16]> for VertexIndices<'a>
Source§impl<'a> From<&'a [u32]> for VertexIndices<'a>
impl<'a> From<&'a [u32]> for VertexIndices<'a>
Source§impl<'a> From<&'a [u8]> for VertexIndices<'a>
impl<'a> From<&'a [u8]> for VertexIndices<'a>
impl<'a> Copy for VertexIndices<'a>
Auto Trait Implementations§
impl<'a> Freeze for VertexIndices<'a>
impl<'a> RefUnwindSafe for VertexIndices<'a>
impl<'a> Send for VertexIndices<'a>
impl<'a> Sync for VertexIndices<'a>
impl<'a> Unpin for VertexIndices<'a>
impl<'a> UnwindSafe for VertexIndices<'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