Struct naga::back::msl::Options [−][src]
pub struct Options { pub lang_version: (u8, u8), pub binding_map: BindingMap, pub push_constants_map: PushConstantsMap, pub inline_samplers: Vec<InlineSampler>, pub spirv_cross_compatibility: bool, pub fake_missing_bindings: bool, }
Fields
lang_version: (u8, u8)
Expand description
(Major, Minor) target version of the Metal Shading Language.
binding_map: BindingMap
Expand description
Binding model mapping to Metal.
push_constants_map: PushConstantsMap
Expand description
Push constants mapping to Metal.
inline_samplers: Vec<InlineSampler>
Expand description
Samplers to be inlined into the code.
spirv_cross_compatibility: bool
Expand description
Make it possible to link different stages via SPIRV-Cross.
fake_missing_bindings: bool
Expand description
Don’t panic on missing bindings, instead generate invalid MSL.
Trait Implementations
impl<'de> Deserialize<'de> for Options
[src]
impl<'de> Deserialize<'de> for Options
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl Eq for Options
[src]
impl StructuralEq for Options
[src]
impl StructuralPartialEq for Options
[src]
Auto Trait Implementations
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,