Struct naga::back::spv::BindingInfo
source · pub struct BindingInfo {
pub binding_array_size: Option<u32>,
}
Fields§
§binding_array_size: Option<u32>
If the binding is an unsized binding array, this overrides the size.
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
source§impl Default for BindingInfo
impl Default for BindingInfo
source§fn default() -> BindingInfo
fn default() -> BindingInfo
Returns the “default value” for a type. Read more
source§impl Hash for BindingInfo
impl Hash for BindingInfo
source§impl PartialEq for BindingInfo
impl PartialEq for BindingInfo
source§fn eq(&self, other: &BindingInfo) -> bool
fn eq(&self, other: &BindingInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BindingInfo
impl StructuralEq for BindingInfo
impl StructuralPartialEq for BindingInfo
Auto Trait Implementations§
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.