pub struct VertexBufferLayoutDescriptorArrayRef(/* private fields */);Expand description
A borrowed reference to a VertexBufferLayoutDescriptorArray.
Implementations§
Source§impl VertexBufferLayoutDescriptorArrayRef
impl VertexBufferLayoutDescriptorArrayRef
pub fn object_at( &self, index: NSUInteger, ) -> Option<&VertexBufferLayoutDescriptorRef>
pub fn set_object_at( &self, index: NSUInteger, layout: Option<&VertexBufferLayoutDescriptorRef>, )
Trait Implementations§
Source§impl AsMut<VertexBufferLayoutDescriptorArrayRef> for VertexBufferLayoutDescriptorArray
impl AsMut<VertexBufferLayoutDescriptorArrayRef> for VertexBufferLayoutDescriptorArray
Source§fn as_mut(&mut self) -> &mut VertexBufferLayoutDescriptorArrayRef
fn as_mut(&mut self) -> &mut VertexBufferLayoutDescriptorArrayRef
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<VertexBufferLayoutDescriptorArrayRef> for VertexBufferLayoutDescriptorArray
impl AsRef<VertexBufferLayoutDescriptorArrayRef> for VertexBufferLayoutDescriptorArray
Source§fn as_ref(&self) -> &VertexBufferLayoutDescriptorArrayRef
fn as_ref(&self) -> &VertexBufferLayoutDescriptorArrayRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<VertexBufferLayoutDescriptorArrayRef> for VertexBufferLayoutDescriptorArray
impl Borrow<VertexBufferLayoutDescriptorArrayRef> for VertexBufferLayoutDescriptorArray
Source§fn borrow(&self) -> &VertexBufferLayoutDescriptorArrayRef
fn borrow(&self) -> &VertexBufferLayoutDescriptorArrayRef
Immutably borrows from an owned value. Read more
Source§impl BorrowMut<VertexBufferLayoutDescriptorArrayRef> for VertexBufferLayoutDescriptorArray
impl BorrowMut<VertexBufferLayoutDescriptorArrayRef> for VertexBufferLayoutDescriptorArray
Source§fn borrow_mut(&mut self) -> &mut VertexBufferLayoutDescriptorArrayRef
fn borrow_mut(&mut self) -> &mut VertexBufferLayoutDescriptorArrayRef
Mutably borrows from an owned value. Read more
Source§impl ForeignTypeRef for VertexBufferLayoutDescriptorArrayRef
impl ForeignTypeRef for VertexBufferLayoutDescriptorArrayRef
Source§type CType = MTLVertexBufferLayoutDescriptorArray
type CType = MTLVertexBufferLayoutDescriptorArray
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 VertexBufferLayoutDescriptorArrayRef
impl Message for VertexBufferLayoutDescriptorArrayRef
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
impl Send for VertexBufferLayoutDescriptorArrayRef
impl Sync for VertexBufferLayoutDescriptorArrayRef
Source§impl ToOwned for VertexBufferLayoutDescriptorArrayRef
impl ToOwned for VertexBufferLayoutDescriptorArrayRef
Source§type Owned = VertexBufferLayoutDescriptorArray
type Owned = VertexBufferLayoutDescriptorArray
The resulting type after obtaining ownership.
Source§fn to_owned(&self) -> VertexBufferLayoutDescriptorArray
fn to_owned(&self) -> VertexBufferLayoutDescriptorArray
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · Source§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
Auto Trait Implementations§
impl !RefUnwindSafe for VertexBufferLayoutDescriptorArrayRef
impl Freeze for VertexBufferLayoutDescriptorArrayRef
impl Unpin for VertexBufferLayoutDescriptorArrayRef
impl UnsafeUnpin for VertexBufferLayoutDescriptorArrayRef
impl UnwindSafe for VertexBufferLayoutDescriptorArrayRef
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