Enum opencv::core::RenderModes
source · #[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§fn eq(&self, other: &RenderModes) -> bool
fn eq(&self, other: &RenderModes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RenderModes
impl Eq for RenderModes
impl StructuralEq for RenderModes
impl StructuralPartialEq for RenderModes
Auto Trait Implementations§
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