Struct wgpu_core::command::CommandBuffer
source · pub struct CommandBuffer<A: HalApi> { /* private fields */ }
Implementations§
source§impl<A: HalApi> CommandBuffer<A>
impl<A: HalApi> CommandBuffer<A>
pub fn is_finished(&self) -> bool
Trait Implementations§
source§impl<A: HalApi> Drop for CommandBuffer<A>
impl<A: HalApi> Drop for CommandBuffer<A>
source§impl<A: HalApi> Resource<Id<CommandBuffer<Api>>> for CommandBuffer<A>
impl<A: HalApi> Resource<Id<CommandBuffer<Api>>> for CommandBuffer<A>
const TYPE: &'static str = "CommandBuffer"
fn as_info(&self) -> &ResourceInfo<CommandBufferId>
fn as_info_mut(&mut self) -> &mut ResourceInfo<CommandBufferId>
fn label(&self) -> String
fn ref_count(self: &Arc<Self>) -> usize
fn is_unique(self: &Arc<Self>) -> bool
fn is_equal(&self, other: &Self) -> bool
Auto Trait Implementations§
impl<A> !RefUnwindSafe for CommandBuffer<A>
impl<A> Send for CommandBuffer<A>
impl<A> Sync for CommandBuffer<A>
impl<A> Unpin for CommandBuffer<A>
impl<A> !UnwindSafe for CommandBuffer<A>
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