Struct wgpu_hal::BufferDescriptor
source · pub struct BufferDescriptor<'a> {
pub label: Label<'a>,
pub size: BufferAddress,
pub usage: BufferUses,
pub memory_flags: MemoryFlags,
}
Fields§
§label: Label<'a>
§size: BufferAddress
§usage: BufferUses
§memory_flags: MemoryFlags
Trait Implementations§
source§impl<'a> Clone for BufferDescriptor<'a>
impl<'a> Clone for BufferDescriptor<'a>
source§fn clone(&self) -> BufferDescriptor<'a>
fn clone(&self) -> BufferDescriptor<'a>
Returns a copy 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 moreAuto Trait Implementations§
impl<'a> RefUnwindSafe for BufferDescriptor<'a>
impl<'a> Send for BufferDescriptor<'a>
impl<'a> Sync for BufferDescriptor<'a>
impl<'a> Unpin for BufferDescriptor<'a>
impl<'a> UnwindSafe for BufferDescriptor<'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