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