Struct naga::back::msl::EntryPointResources
source · pub struct EntryPointResources {
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 EntryPointResources
impl Clone for EntryPointResources
source§fn clone(&self) -> EntryPointResources
fn clone(&self) -> EntryPointResources
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 EntryPointResources
impl Debug for EntryPointResources
source§impl Default for EntryPointResources
impl Default for EntryPointResources
source§fn default() -> EntryPointResources
fn default() -> EntryPointResources
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EntryPointResourceswhere
EntryPointResources: Default,
impl<'de> Deserialize<'de> for EntryPointResourceswhere
EntryPointResources: 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 EntryPointResources
impl Hash for EntryPointResources
source§impl PartialEq for EntryPointResources
impl PartialEq for EntryPointResources
source§fn eq(&self, other: &EntryPointResources) -> bool
fn eq(&self, other: &EntryPointResources) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EntryPointResources
impl Serialize for EntryPointResources
impl Eq for EntryPointResources
impl StructuralEq for EntryPointResources
impl StructuralPartialEq for EntryPointResources
Auto Trait Implementations§
impl RefUnwindSafe for EntryPointResources
impl Send for EntryPointResources
impl Sync for EntryPointResources
impl Unpin for EntryPointResources
impl UnwindSafe for EntryPointResources
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.