Struct lf_gfx::PaddedBufferInitDescriptor
source · pub struct PaddedBufferInitDescriptor<'a> {
pub label: Label<'a>,
pub contents: Vec<u8>,
pub usage: BufferUsages,
}Fields§
§label: Label<'a>Debug label of a buffer. This will show up in graphics debuggers for easy identification.
contents: Vec<u8>Contents of a buffer on creation. Will be extended to the next pad interval.
usage: BufferUsagesUsages of a buffer. If the buffer is used in any way that isn’t specified here, the operation will panic.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PaddedBufferInitDescriptor<'a>
impl<'a> Send for PaddedBufferInitDescriptor<'a>
impl<'a> Sync for PaddedBufferInitDescriptor<'a>
impl<'a> Unpin for PaddedBufferInitDescriptor<'a>
impl<'a> UnwindSafe for PaddedBufferInitDescriptor<'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