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