#[repr(u32)]pub enum VisualServerPrimitiveType {
PrimitivePoints = 0,
PrimitiveLines = 1,
PrimitiveLineStrip = 2,
PrimitiveLineLoop = 3,
PrimitiveTriangles = 4,
PrimitiveTriangleStrip = 5,
PrimitiveTriangleFan = 6,
PrimitiveMax = 7,
}Variants§
PrimitivePoints = 0
PrimitiveLines = 1
PrimitiveLineStrip = 2
PrimitiveLineLoop = 3
PrimitiveTriangles = 4
PrimitiveTriangleStrip = 5
PrimitiveTriangleFan = 6
PrimitiveMax = 7
Trait Implementations§
Source§impl Clone for VisualServerPrimitiveType
impl Clone for VisualServerPrimitiveType
Source§fn clone(&self) -> VisualServerPrimitiveType
fn clone(&self) -> VisualServerPrimitiveType
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 moreimpl Copy for VisualServerPrimitiveType
Source§impl Debug for VisualServerPrimitiveType
impl Debug for VisualServerPrimitiveType
impl Eq for VisualServerPrimitiveType
Source§impl Hash for VisualServerPrimitiveType
impl Hash for VisualServerPrimitiveType
Source§impl PartialEq for VisualServerPrimitiveType
impl PartialEq for VisualServerPrimitiveType
Source§fn eq(&self, other: &VisualServerPrimitiveType) -> bool
fn eq(&self, other: &VisualServerPrimitiveType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VisualServerPrimitiveType
Auto Trait Implementations§
impl Freeze for VisualServerPrimitiveType
impl RefUnwindSafe for VisualServerPrimitiveType
impl Send for VisualServerPrimitiveType
impl Sync for VisualServerPrimitiveType
impl Unpin for VisualServerPrimitiveType
impl UnsafeUnpin for VisualServerPrimitiveType
impl UnwindSafe for VisualServerPrimitiveType
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