#[repr(u64)]pub enum MTLPatchType {
None = 0,
Triangle = 1,
Quad = 2,
}Expand description
Only available on (macos(10.12), ios(10.0)
See https://developer.apple.com/documentation/metal/mtlpatchtype/
Variants§
Trait Implementations§
Source§impl Clone for MTLPatchType
impl Clone for MTLPatchType
Source§fn clone(&self) -> MTLPatchType
fn clone(&self) -> MTLPatchType
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 MTLPatchType
Source§impl Debug for MTLPatchType
impl Debug for MTLPatchType
impl Eq for MTLPatchType
Source§impl Hash for MTLPatchType
impl Hash for MTLPatchType
Source§impl PartialEq for MTLPatchType
impl PartialEq for MTLPatchType
Source§fn eq(&self, other: &MTLPatchType) -> bool
fn eq(&self, other: &MTLPatchType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MTLPatchType
Auto Trait Implementations§
impl Freeze for MTLPatchType
impl RefUnwindSafe for MTLPatchType
impl Send for MTLPatchType
impl Sync for MTLPatchType
impl Unpin for MTLPatchType
impl UnsafeUnpin for MTLPatchType
impl UnwindSafe for MTLPatchType
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