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
sourceimpl<'a> Clone for BufferDescriptor<'a>
impl<'a> Clone for BufferDescriptor<'a>
sourcefn clone(&self) -> BufferDescriptor<'a>
fn clone(&self) -> BufferDescriptor<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more