pub struct CommandAllocatorDescriptor(/* private fields */);Expand description
Descriptor for creating a MTL4 command allocator.
C++ equivalent: MTL4::CommandAllocatorDescriptor
Implementations§
Trait Implementations§
Source§impl Clone for CommandAllocatorDescriptor
impl Clone for CommandAllocatorDescriptor
Source§impl Drop for CommandAllocatorDescriptor
impl Drop for CommandAllocatorDescriptor
Source§impl Referencing for CommandAllocatorDescriptor
impl Referencing for CommandAllocatorDescriptor
Source§fn as_mut_ptr(&self) -> *mut c_void
fn as_mut_ptr(&self) -> *mut c_void
Get the raw mutable pointer to the Objective-C object.
Source§fn retain(&self) -> Selfwhere
Self: Clone,
fn retain(&self) -> Selfwhere
Self: Clone,
Retain the object, incrementing its reference count. Read more
Source§fn autorelease(&self) -> Selfwhere
Self: Clone,
fn autorelease(&self) -> Selfwhere
Self: Clone,
Autorelease the object. Read more
Source§fn retain_count(&self) -> usize
fn retain_count(&self) -> usize
Get the retain count of the object. Read more
impl Send for CommandAllocatorDescriptor
impl Sync for CommandAllocatorDescriptor
Auto Trait Implementations§
impl Freeze for CommandAllocatorDescriptor
impl RefUnwindSafe for CommandAllocatorDescriptor
impl Unpin for CommandAllocatorDescriptor
impl UnwindSafe for CommandAllocatorDescriptor
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