Struct naga::back::msl::BindTarget
source · pub struct BindTarget {
pub buffer: Option<Slot>,
pub texture: Option<Slot>,
pub sampler: Option<BindSamplerTarget>,
pub binding_array_size: Option<u32>,
pub mutable: bool,
}
Fields§
§buffer: Option<Slot>
§texture: Option<Slot>
§sampler: Option<BindSamplerTarget>
§binding_array_size: Option<u32>
If the binding is an unsized binding array, this overrides the size.
mutable: bool
Trait Implementations§
source§impl Clone for BindTarget
impl Clone for BindTarget
source§fn clone(&self) -> BindTarget
fn clone(&self) -> BindTarget
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 BindTarget
impl Debug for BindTarget
source§impl Default for BindTarget
impl Default for BindTarget
source§fn default() -> BindTarget
fn default() -> BindTarget
Returns the “default value” for a type. Read more
source§impl Hash for BindTarget
impl Hash for BindTarget
source§impl PartialEq for BindTarget
impl PartialEq for BindTarget
source§fn eq(&self, other: &BindTarget) -> bool
fn eq(&self, other: &BindTarget) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BindTarget
impl StructuralPartialEq for BindTarget
Auto Trait Implementations§
impl Freeze for BindTarget
impl RefUnwindSafe for BindTarget
impl Send for BindTarget
impl Sync for BindTarget
impl Unpin for BindTarget
impl UnwindSafe for BindTarget
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§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.