struct BindingInfo {
binding: u32,
binding_array_size: Option<NonZeroU32>,
}
Expand description
Information about a binding within a specific BindGroupLayout / BindGroup.
This will be used to construct a naga::back::spv::BindingInfo
, where
the descriptor set value will be taken from the index of the group.
Fields§
§binding: u32
§binding_array_size: Option<NonZeroU32>
Trait Implementations§
Source§impl Clone for BindingInfo
impl Clone for BindingInfo
Source§fn clone(&self) -> BindingInfo
fn clone(&self) -> BindingInfo
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 moreSource§impl Debug for BindingInfo
impl Debug for BindingInfo
impl Copy for BindingInfo
Auto Trait Implementations§
impl Freeze for BindingInfo
impl RefUnwindSafe for BindingInfo
impl Send for BindingInfo
impl Sync for BindingInfo
impl Unpin for BindingInfo
impl UnwindSafe for BindingInfo
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