Struct naga::back::msl::PerStageMap
source · pub struct PerStageMap {
pub vs: PerStageResources,
pub fs: PerStageResources,
pub cs: PerStageResources,
}
Fields§
§vs: PerStageResources
§fs: PerStageResources
§cs: PerStageResources
Trait Implementations§
source§impl Clone for PerStageMap
impl Clone for PerStageMap
source§fn clone(&self) -> PerStageMap
fn clone(&self) -> PerStageMap
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 PerStageMap
impl Debug for PerStageMap
source§impl Default for PerStageMap
impl Default for PerStageMap
source§fn default() -> PerStageMap
fn default() -> PerStageMap
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PerStageMapwhere
PerStageMap: Default,
impl<'de> Deserialize<'de> for PerStageMapwhere PerStageMap: Default,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for PerStageMap
impl Hash for PerStageMap
source§impl Index<ShaderStage> for PerStageMap
impl Index<ShaderStage> for PerStageMap
§type Output = PerStageResources
type Output = PerStageResources
The returned type after indexing.
source§fn index(&self, stage: ShaderStage) -> &PerStageResources
fn index(&self, stage: ShaderStage) -> &PerStageResources
Performs the indexing (
container[index]
) operation. Read moresource§impl PartialEq<PerStageMap> for PerStageMap
impl PartialEq<PerStageMap> for PerStageMap
source§fn eq(&self, other: &PerStageMap) -> bool
fn eq(&self, other: &PerStageMap) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PerStageMap
impl Serialize for PerStageMap
impl Eq for PerStageMap
impl StructuralEq for PerStageMap
impl StructuralPartialEq for PerStageMap
Auto Trait Implementations§
impl RefUnwindSafe for PerStageMap
impl Send for PerStageMap
impl Sync for PerStageMap
impl Unpin for PerStageMap
impl UnwindSafe for PerStageMap
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.