#[repr(u64)]pub enum MTLFunctionType {
Vertex = 1,
Fragment = 2,
Kernel = 3,
Visible = 5,
Intersection = 6,
}Expand description
Variants§
Vertex = 1
Fragment = 2
Kernel = 3
Visible = 5
Only available on (macos(11.0), ios(14.0))
Intersection = 6
Only available on (macos(11.0), ios(14.0))
Trait Implementations§
Source§impl Clone for MTLFunctionType
impl Clone for MTLFunctionType
Source§fn clone(&self) -> MTLFunctionType
fn clone(&self) -> MTLFunctionType
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 MTLFunctionType
impl Debug for MTLFunctionType
Source§impl Hash for MTLFunctionType
impl Hash for MTLFunctionType
Source§impl PartialEq for MTLFunctionType
impl PartialEq for MTLFunctionType
impl Copy for MTLFunctionType
impl Eq for MTLFunctionType
impl StructuralPartialEq for MTLFunctionType
Auto Trait Implementations§
impl Freeze for MTLFunctionType
impl RefUnwindSafe for MTLFunctionType
impl Send for MTLFunctionType
impl Sync for MTLFunctionType
impl Unpin for MTLFunctionType
impl UnwindSafe for MTLFunctionType
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)