Struct spirv_cross::msl::ResourceBinding [−][src]
pub struct ResourceBinding { pub buffer_id: u32, pub texture_id: u32, pub sampler_id: u32, pub force_used: bool, }
Resource binding description for overriding
Fields
buffer_id: u32
texture_id: u32
sampler_id: u32
force_used: bool
Trait Implementations
impl Debug for ResourceBinding
[src]
impl Debug for ResourceBinding
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ResourceBinding
[src]
impl Clone for ResourceBinding
fn clone(&self) -> ResourceBinding
[src]
fn clone(&self) -> ResourceBinding
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Hash for ResourceBinding
[src]
impl Hash for ResourceBinding
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Eq for ResourceBinding
[src]
impl Eq for ResourceBinding
impl PartialEq for ResourceBinding
[src]
impl PartialEq for ResourceBinding
fn eq(&self, other: &ResourceBinding) -> bool
[src]
fn eq(&self, other: &ResourceBinding) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ResourceBinding) -> bool
[src]
fn ne(&self, other: &ResourceBinding) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for ResourceBinding
impl Send for ResourceBinding
impl Sync for ResourceBinding
impl Sync for ResourceBinding