pub struct Buffer<A: HalApi> { /* private fields */ }
Trait Implementations§
source§impl<A: HalApi> Resource<Id<Buffer<Api>>> for Buffer<A>
impl<A: HalApi> Resource<Id<Buffer<Api>>> for Buffer<A>
const TYPE: &'static str = "Buffer"
fn as_info(&self) -> &ResourceInfo<BufferId>
fn as_info_mut(&mut self) -> &mut ResourceInfo<BufferId>
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 Buffer<A>
impl<A> Send for Buffer<A>
impl<A> Sync for Buffer<A>
impl<A> Unpin for Buffer<A>
impl<A> !UnwindSafe for Buffer<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