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 more