#[repr(u64)]pub enum MTLPrimitiveType {
Point = 0,
Line = 1,
LineStrip = 2,
Triangle = 3,
TriangleStrip = 4,
}Expand description
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§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MTLPrimitiveType
impl Debug for MTLPrimitiveType
Source§impl Hash for MTLPrimitiveType
impl Hash for MTLPrimitiveType
Source§impl PartialEq for MTLPrimitiveType
impl PartialEq for MTLPrimitiveType
impl Copy for MTLPrimitiveType
impl Eq for MTLPrimitiveType
impl StructuralPartialEq 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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)