#[repr(C)]pub enum RenderModes {
POINTS = 0,
LINES = 1,
LINE_LOOP = 2,
LINE_STRIP = 3,
TRIANGLES = 4,
TRIANGLE_STRIP = 5,
TRIANGLE_FAN = 6,
QUADS = 7,
QUAD_STRIP = 8,
POLYGON = 9,
}
Expand description
render mode
Variants§
POINTS = 0
LINES = 1
LINE_LOOP = 2
LINE_STRIP = 3
TRIANGLES = 4
TRIANGLE_STRIP = 5
TRIANGLE_FAN = 6
QUADS = 7
QUAD_STRIP = 8
POLYGON = 9
Trait Implementations§
Source§impl Clone for RenderModes
impl Clone for RenderModes
Source§fn clone(&self) -> RenderModes
fn clone(&self) -> RenderModes
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 moreSource§impl Debug for RenderModes
impl Debug for RenderModes
Source§impl From<RenderModes> for i32
impl From<RenderModes> for i32
Source§fn from(v: RenderModes) -> Self
fn from(v: RenderModes) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RenderModes
impl PartialEq for RenderModes
Source§impl TryFrom<i32> for RenderModes
impl TryFrom<i32> for RenderModes
impl Copy for RenderModes
impl Eq for RenderModes
impl StructuralPartialEq for RenderModes
Auto Trait Implementations§
impl Freeze for RenderModes
impl RefUnwindSafe for RenderModes
impl Send for RenderModes
impl Sync for RenderModes
impl Unpin for RenderModes
impl UnwindSafe for RenderModes
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