Struct naga::back::msl::PerStageResources
source · pub struct PerStageResources {
pub resources: BindingMap,
pub push_constant_buffer: Option<Slot>,
pub sizes_buffer: Option<Slot>,
}
Fields§
§resources: BindingMap
§push_constant_buffer: Option<Slot>
§sizes_buffer: Option<Slot>
The slot of a buffer that contains an array of u32
,
one for the size of each bound buffer that contains a runtime array,
in order of crate::GlobalVariable
declarations.
Trait Implementations§
source§impl Clone for PerStageResources
impl Clone for PerStageResources
source§fn clone(&self) -> PerStageResources
fn clone(&self) -> PerStageResources
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 PerStageResources
impl Debug for PerStageResources
source§impl Default for PerStageResources
impl Default for PerStageResources
source§fn default() -> PerStageResources
fn default() -> PerStageResources
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PerStageResourceswhere
PerStageResources: Default,
impl<'de> Deserialize<'de> for PerStageResourceswhere PerStageResources: 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 PerStageResources
impl Hash for PerStageResources
source§impl PartialEq<PerStageResources> for PerStageResources
impl PartialEq<PerStageResources> for PerStageResources
source§fn eq(&self, other: &PerStageResources) -> bool
fn eq(&self, other: &PerStageResources) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PerStageResources
impl Serialize for PerStageResources
impl Eq for PerStageResources
impl StructuralEq for PerStageResources
impl StructuralPartialEq for PerStageResources
Auto Trait Implementations§
impl RefUnwindSafe for PerStageResources
impl Send for PerStageResources
impl Sync for PerStageResources
impl Unpin for PerStageResources
impl UnwindSafe for PerStageResources
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.