pub enum PrimitiveType {
Triangles,
Lines,
}
Variants
Triangles
Lines
Trait Implementations
sourceimpl Clone for PrimitiveType
impl Clone for PrimitiveType
sourcefn clone(&self) -> PrimitiveType
fn clone(&self) -> PrimitiveType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PrimitiveType
impl Debug for PrimitiveType
sourceimpl From<PrimitiveType> for GLenum
impl From<PrimitiveType> for GLenum
sourcefn from(primitive_type: PrimitiveType) -> Self
fn from(primitive_type: PrimitiveType) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<PrimitiveType> for PrimitiveType
impl PartialEq<PrimitiveType> for PrimitiveType
sourcefn eq(&self, other: &PrimitiveType) -> bool
fn eq(&self, other: &PrimitiveType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for PrimitiveType
impl StructuralPartialEq for PrimitiveType
Auto Trait Implementations
impl RefUnwindSafe for PrimitiveType
impl Send for PrimitiveType
impl Sync for PrimitiveType
impl Unpin for PrimitiveType
impl UnwindSafe for PrimitiveType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more