#[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 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 VisualServerPrimitiveType
impl Debug for VisualServerPrimitiveType
Source§impl Hash for VisualServerPrimitiveType
impl Hash for VisualServerPrimitiveType
impl Copy for VisualServerPrimitiveType
impl Eq for VisualServerPrimitiveType
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 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