pub struct FunctionDescriptor(/* private fields */);Expand description
Descriptor for MTL4 functions.
C++ equivalent: MTL4::FunctionDescriptor
FunctionDescriptor is used to specify a function for pipeline creation in Metal 4.
Implementations§
Trait Implementations§
Source§impl Clone for FunctionDescriptor
impl Clone for FunctionDescriptor
Source§impl Debug for FunctionDescriptor
impl Debug for FunctionDescriptor
Source§impl Drop for FunctionDescriptor
impl Drop for FunctionDescriptor
Source§impl Referencing for FunctionDescriptor
impl Referencing for FunctionDescriptor
Source§fn as_mut_ptr(&self) -> *mut c_void
fn as_mut_ptr(&self) -> *mut c_void
Get the raw mutable pointer to the Objective-C object.
Source§fn retain(&self) -> Selfwhere
Self: Clone,
fn retain(&self) -> Selfwhere
Self: Clone,
Retain the object, incrementing its reference count. Read more
Source§fn autorelease(&self) -> Selfwhere
Self: Clone,
fn autorelease(&self) -> Selfwhere
Self: Clone,
Autorelease the object. Read more
Source§fn retain_count(&self) -> usize
fn retain_count(&self) -> usize
Get the retain count of the object. Read more
impl Send for FunctionDescriptor
impl Sync for FunctionDescriptor
Auto Trait Implementations§
impl Freeze for FunctionDescriptor
impl RefUnwindSafe for FunctionDescriptor
impl Unpin for FunctionDescriptor
impl UnwindSafe for FunctionDescriptor
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