#[non_exhaustive]pub enum AutomaticResourceBindingTier {
Primary,
Secondary,
}Available on crate feature
msl only.Expand description
The tier of automatic resource binding.
Note that tertiary and quaternary bindings are not accessible via the SPIR-V Cross C API.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Primary
The primary automatic resource binding.
Secondary
Should only be used for combined image samplers, in which case the sampler’s binding is returned instead.
Also used for the auxillary image atomic buffer.
Trait Implementations§
Source§impl Clone for AutomaticResourceBindingTier
impl Clone for AutomaticResourceBindingTier
Source§fn clone(&self) -> AutomaticResourceBindingTier
fn clone(&self) -> AutomaticResourceBindingTier
Returns a duplicate 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 AutomaticResourceBindingTier
impl Debug for AutomaticResourceBindingTier
Source§impl Default for AutomaticResourceBindingTier
impl Default for AutomaticResourceBindingTier
Source§fn default() -> AutomaticResourceBindingTier
fn default() -> AutomaticResourceBindingTier
Returns the “default value” for a type. Read more
impl Copy for AutomaticResourceBindingTier
Auto Trait Implementations§
impl Freeze for AutomaticResourceBindingTier
impl RefUnwindSafe for AutomaticResourceBindingTier
impl Send for AutomaticResourceBindingTier
impl Sync for AutomaticResourceBindingTier
impl Unpin for AutomaticResourceBindingTier
impl UnwindSafe for AutomaticResourceBindingTier
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