#[repr(C)]pub enum IndexBufferFormat {
Points = 0,
Lines = 1,
LineStrip = 2,
Triangles = 3,
TriangleStrip = 4,
TriangleFan = 5,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for IndexBufferFormat
impl Clone for IndexBufferFormat
Source§fn clone(&self) -> IndexBufferFormat
fn clone(&self) -> IndexBufferFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IndexBufferFormat
impl Debug for IndexBufferFormat
Source§impl Hash for IndexBufferFormat
impl Hash for IndexBufferFormat
Source§impl Ord for IndexBufferFormat
impl Ord for IndexBufferFormat
Source§fn cmp(&self, other: &IndexBufferFormat) -> Ordering
fn cmp(&self, other: &IndexBufferFormat) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IndexBufferFormat
impl PartialEq for IndexBufferFormat
Source§fn eq(&self, other: &IndexBufferFormat) -> bool
fn eq(&self, other: &IndexBufferFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for IndexBufferFormat
impl PartialOrd for IndexBufferFormat
impl Copy for IndexBufferFormat
impl Eq for IndexBufferFormat
impl StructuralPartialEq for IndexBufferFormat
Auto Trait Implementations§
impl Freeze for IndexBufferFormat
impl RefUnwindSafe for IndexBufferFormat
impl Send for IndexBufferFormat
impl Sync for IndexBufferFormat
impl Unpin for IndexBufferFormat
impl UnsafeUnpin for IndexBufferFormat
impl UnwindSafe for IndexBufferFormat
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