pub struct ComputePassDescriptorRef(/* private fields */);Expand description
A borrowed reference to a ComputePassDescriptor.
Implementations§
Source§impl ComputePassDescriptorRef
impl ComputePassDescriptorRef
pub fn sample_buffer_attachments( &self, ) -> &ComputePassSampleBufferAttachmentDescriptorArrayRef
pub fn set_dispatch_type(&self, ty: MTLDispatchType)
Trait Implementations§
Source§impl AsMut<ComputePassDescriptorRef> for ComputePassDescriptor
impl AsMut<ComputePassDescriptorRef> for ComputePassDescriptor
Source§fn as_mut(&mut self) -> &mut ComputePassDescriptorRef
fn as_mut(&mut self) -> &mut ComputePassDescriptorRef
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<ComputePassDescriptorRef> for ComputePassDescriptor
impl AsRef<ComputePassDescriptorRef> for ComputePassDescriptor
Source§fn as_ref(&self) -> &ComputePassDescriptorRef
fn as_ref(&self) -> &ComputePassDescriptorRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<ComputePassDescriptorRef> for ComputePassDescriptor
impl Borrow<ComputePassDescriptorRef> for ComputePassDescriptor
Source§fn borrow(&self) -> &ComputePassDescriptorRef
fn borrow(&self) -> &ComputePassDescriptorRef
Immutably borrows from an owned value. Read more
Source§impl BorrowMut<ComputePassDescriptorRef> for ComputePassDescriptor
impl BorrowMut<ComputePassDescriptorRef> for ComputePassDescriptor
Source§fn borrow_mut(&mut self) -> &mut ComputePassDescriptorRef
fn borrow_mut(&mut self) -> &mut ComputePassDescriptorRef
Mutably borrows from an owned value. Read more
Source§impl Debug for ComputePassDescriptorRef
impl Debug for ComputePassDescriptorRef
Source§impl ForeignTypeRef for ComputePassDescriptorRef
impl ForeignTypeRef for ComputePassDescriptorRef
Source§type CType = MTLComputePassDescriptor
type CType = MTLComputePassDescriptor
The raw C type.
Source§unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type. Read more
Source§impl Message for ComputePassDescriptorRef
impl Message for ComputePassDescriptorRef
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
Source§impl ToOwned for ComputePassDescriptorRef
impl ToOwned for ComputePassDescriptorRef
Source§type Owned = ComputePassDescriptor
type Owned = ComputePassDescriptor
The resulting type after obtaining ownership.
Source§fn to_owned(&self) -> ComputePassDescriptor
fn to_owned(&self) -> ComputePassDescriptor
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more