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> Freeze for BufferDescriptor<'a>
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