pub enum MTLFunctionDescriptor {}Expand description
Only available on (macos(11.0), ios(14.0))
See https://developer.apple.com/documentation/metal/mtlfunctiondescriptor/
Trait Implementations§
Source§impl Message for MTLFunctionDescriptor
impl Message for MTLFunctionDescriptor
Source§unsafe fn send_message<A, R>(
&self,
sel: Sel,
args: A,
) -> Result<R, MessageError>
unsafe fn send_message<A, R>( &self, sel: Sel, args: A, ) -> Result<R, MessageError>
Sends a message to self with the given selector and arguments. Read more
Source§fn verify_message<A, R>(&self, sel: Sel) -> Result<(), MessageError>
fn verify_message<A, R>(&self, sel: Sel) -> Result<(), MessageError>
Verifies that the argument and return types match the encoding of the
method for the given selector. Read more
Auto Trait Implementations§
impl Freeze for MTLFunctionDescriptor
impl RefUnwindSafe for MTLFunctionDescriptor
impl Send for MTLFunctionDescriptor
impl Sync for MTLFunctionDescriptor
impl Unpin for MTLFunctionDescriptor
impl UnsafeUnpin for MTLFunctionDescriptor
impl UnwindSafe for MTLFunctionDescriptor
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