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