pub struct CommandQueue(/* private fields */);
Methods from Deref<Target = CommandQueueRef>§
pub fn label(&self) -> &str
pub fn set_label(&self, label: &str)
pub fn new_command_buffer(&self) -> &CommandBufferRef
pub fn new_command_buffer_with_unretained_references(&self) -> &CommandBufferRef
pub fn device(&self) -> &DeviceRef
Trait Implementations§
Source§impl AsMut<CommandQueueRef> for CommandQueue
impl AsMut<CommandQueueRef> for CommandQueue
Source§fn as_mut(&mut self) -> &mut CommandQueueRef
fn as_mut(&mut self) -> &mut CommandQueueRef
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<CommandQueueRef> for CommandQueue
impl AsRef<CommandQueueRef> for CommandQueue
Source§fn as_ref(&self) -> &CommandQueueRef
fn as_ref(&self) -> &CommandQueueRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<CommandQueueRef> for CommandQueue
impl Borrow<CommandQueueRef> for CommandQueue
Source§fn borrow(&self) -> &CommandQueueRef
fn borrow(&self) -> &CommandQueueRef
Immutably borrows from an owned value. Read more
Source§impl BorrowMut<CommandQueueRef> for CommandQueue
impl BorrowMut<CommandQueueRef> for CommandQueue
Source§fn borrow_mut(&mut self) -> &mut CommandQueueRef
fn borrow_mut(&mut self) -> &mut CommandQueueRef
Mutably borrows from an owned value. Read more
Source§impl Clone for CommandQueue
impl Clone for CommandQueue
Source§fn clone(&self) -> CommandQueue
fn clone(&self) -> CommandQueue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CommandQueue
impl Debug for CommandQueue
Source§impl Deref for CommandQueue
impl Deref for CommandQueue
Source§type Target = CommandQueueRef
type Target = CommandQueueRef
The resulting type after dereferencing.
Source§fn deref(&self) -> &CommandQueueRef
fn deref(&self) -> &CommandQueueRef
Dereferences the value.
Source§impl DerefMut for CommandQueue
impl DerefMut for CommandQueue
Source§fn deref_mut(&mut self) -> &mut CommandQueueRef
fn deref_mut(&mut self) -> &mut CommandQueueRef
Mutably dereferences the value.
Source§impl Drop for CommandQueue
impl Drop for CommandQueue
Source§impl ForeignType for CommandQueue
impl ForeignType for CommandQueue
Source§type CType = MTLCommandQueue
type CType = MTLCommandQueue
The raw C type.
Source§type Ref = CommandQueueRef
type Ref = CommandQueueRef
The type representing a reference to this type.
Source§unsafe fn from_ptr(ptr: *mut MTLCommandQueue) -> CommandQueue
unsafe fn from_ptr(ptr: *mut MTLCommandQueue) -> CommandQueue
Constructs an instance of this type from its raw type. Read more
Source§fn as_ptr(&self) -> *mut MTLCommandQueue
fn as_ptr(&self) -> *mut MTLCommandQueue
Returns a raw pointer to the wrapped value.
impl Send for CommandQueue
impl Sync for CommandQueue
Auto Trait Implementations§
impl Freeze for CommandQueue
impl RefUnwindSafe for CommandQueue
impl Unpin for CommandQueue
impl UnwindSafe for CommandQueue
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