pub struct CommandBuffer { /* private fields */ }Implementations§
Source§impl CommandBuffer
impl CommandBuffer
pub fn new_with_command_buffer( command_buffer: &MetalCommandBuffer, ) -> Option<Self>
pub fn from_command_queue(command_queue: &CommandQueue) -> Option<Self>
pub fn set_predicate(&self, predicate: &Predicate)
pub fn clear_predicate(&self)
pub fn prefetch_heap_for_workload_size(&self, size: usize)
pub fn commit_and_continue(&self)
Trait Implementations§
Source§impl Drop for CommandBuffer
impl Drop for CommandBuffer
impl Send for CommandBuffer
impl Sync for CommandBuffer
Auto Trait Implementations§
impl Freeze for CommandBuffer
impl RefUnwindSafe for CommandBuffer
impl Unpin for CommandBuffer
impl UnsafeUnpin for CommandBuffer
impl UnwindSafe for CommandBuffer
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