pub struct ComputePassSampleBufferAttachmentDescriptorArrayRef(/* private fields */);Expand description
A borrowed reference to a ComputePassSampleBufferAttachmentDescriptorArray.
Implementations§
Source§impl ComputePassSampleBufferAttachmentDescriptorArrayRef
impl ComputePassSampleBufferAttachmentDescriptorArrayRef
pub fn object_at( &self, index: NSUInteger, ) -> Option<&ComputePassSampleBufferAttachmentDescriptorRef>
pub fn set_object_at( &self, index: NSUInteger, attachment: Option<&ComputePassSampleBufferAttachmentDescriptorRef>, )
Trait Implementations§
Source§impl AsMut<ComputePassSampleBufferAttachmentDescriptorArrayRef> for ComputePassSampleBufferAttachmentDescriptorArray
impl AsMut<ComputePassSampleBufferAttachmentDescriptorArrayRef> for ComputePassSampleBufferAttachmentDescriptorArray
Source§fn as_mut(&mut self) -> &mut ComputePassSampleBufferAttachmentDescriptorArrayRef
fn as_mut(&mut self) -> &mut ComputePassSampleBufferAttachmentDescriptorArrayRef
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<ComputePassSampleBufferAttachmentDescriptorArrayRef> for ComputePassSampleBufferAttachmentDescriptorArray
impl AsRef<ComputePassSampleBufferAttachmentDescriptorArrayRef> for ComputePassSampleBufferAttachmentDescriptorArray
Source§fn as_ref(&self) -> &ComputePassSampleBufferAttachmentDescriptorArrayRef
fn as_ref(&self) -> &ComputePassSampleBufferAttachmentDescriptorArrayRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<ComputePassSampleBufferAttachmentDescriptorArrayRef> for ComputePassSampleBufferAttachmentDescriptorArray
impl Borrow<ComputePassSampleBufferAttachmentDescriptorArrayRef> for ComputePassSampleBufferAttachmentDescriptorArray
Source§fn borrow(&self) -> &ComputePassSampleBufferAttachmentDescriptorArrayRef
fn borrow(&self) -> &ComputePassSampleBufferAttachmentDescriptorArrayRef
Immutably borrows from an owned value. Read more
Source§impl BorrowMut<ComputePassSampleBufferAttachmentDescriptorArrayRef> for ComputePassSampleBufferAttachmentDescriptorArray
impl BorrowMut<ComputePassSampleBufferAttachmentDescriptorArrayRef> for ComputePassSampleBufferAttachmentDescriptorArray
Source§fn borrow_mut(
&mut self,
) -> &mut ComputePassSampleBufferAttachmentDescriptorArrayRef
fn borrow_mut( &mut self, ) -> &mut ComputePassSampleBufferAttachmentDescriptorArrayRef
Mutably borrows from an owned value. Read more
Source§impl ForeignTypeRef for ComputePassSampleBufferAttachmentDescriptorArrayRef
impl ForeignTypeRef for ComputePassSampleBufferAttachmentDescriptorArrayRef
Source§type CType = MTLComputePassSampleBufferAttachmentDescriptorArray
type CType = MTLComputePassSampleBufferAttachmentDescriptorArray
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 ComputePassSampleBufferAttachmentDescriptorArrayRef
impl Message for ComputePassSampleBufferAttachmentDescriptorArrayRef
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 ComputePassSampleBufferAttachmentDescriptorArrayRef
impl ToOwned for ComputePassSampleBufferAttachmentDescriptorArrayRef
Source§type Owned = ComputePassSampleBufferAttachmentDescriptorArray
type Owned = ComputePassSampleBufferAttachmentDescriptorArray
The resulting type after obtaining ownership.
Source§fn to_owned(&self) -> ComputePassSampleBufferAttachmentDescriptorArray
fn to_owned(&self) -> ComputePassSampleBufferAttachmentDescriptorArray
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