#[repr(u64)]pub enum MTLPrimitiveType {
Point = 0,
Line = 1,
LineStrip = 2,
Triangle = 3,
TriangleStrip = 4,
}Variants§
Trait Implementations§
Source§impl Clone for MTLPrimitiveType
impl Clone for MTLPrimitiveType
Source§fn clone(&self) -> MTLPrimitiveType
fn clone(&self) -> MTLPrimitiveType
Returns a duplicate 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 moreimpl Copy for MTLPrimitiveType
Auto Trait Implementations§
impl Freeze for MTLPrimitiveType
impl RefUnwindSafe for MTLPrimitiveType
impl Send for MTLPrimitiveType
impl Sync for MTLPrimitiveType
impl Unpin for MTLPrimitiveType
impl UnwindSafe for MTLPrimitiveType
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