pub struct OutputBindingLayout {
pub binding: u32,
pub name: Arc<str>,
pub layout: OutputLayout,
pub word_count: usize,
}Expand description
Readback and allocation metadata for one writable buffer.
Fields§
§binding: u32Buffer binding slot.
name: Arc<str>Buffer name for diagnostics.
layout: OutputLayoutFull readback/copy layout for this binding.
word_count: usizeRounded-up 32-bit word count used for allocation and clears.
Trait Implementations§
Source§impl Clone for OutputBindingLayout
impl Clone for OutputBindingLayout
Source§fn clone(&self) -> OutputBindingLayout
fn clone(&self) -> OutputBindingLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Freeze for OutputBindingLayout
impl RefUnwindSafe for OutputBindingLayout
impl Send for OutputBindingLayout
impl Sync for OutputBindingLayout
impl Unpin for OutputBindingLayout
impl UnsafeUnpin for OutputBindingLayout
impl UnwindSafe for OutputBindingLayout
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