pub enum ImplementedEnableExtension {
    F16,
    DualSourceBlending,
    ClipDistances,
}Expand description
A variant of EnableExtension::Implemented.
Variants§
F16
Enables f16/half primitive support in all shader languages.
In the WGSL standard, this corresponds to enable f16;.
DualSourceBlending
Enables the blend_src attribute in WGSL.
In the WGSL standard, this corresponds to enable dual_source_blending;.
ClipDistances
Enables the clip_distances variable in WGSL.
In the WGSL standard, this corresponds to enable clip_distances;.
Trait Implementations§
Source§impl Clone for ImplementedEnableExtension
 
impl Clone for ImplementedEnableExtension
Source§fn clone(&self) -> ImplementedEnableExtension
 
fn clone(&self) -> ImplementedEnableExtension
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 ImplementedEnableExtension
 
impl Debug for ImplementedEnableExtension
Source§impl From<ImplementedEnableExtension> for EnableExtension
 
impl From<ImplementedEnableExtension> for EnableExtension
Source§fn from(value: ImplementedEnableExtension) -> Self
 
fn from(value: ImplementedEnableExtension) -> Self
Converts to this type from the input type.
Source§impl Hash for ImplementedEnableExtension
 
impl Hash for ImplementedEnableExtension
impl Copy for ImplementedEnableExtension
impl Eq for ImplementedEnableExtension
impl StructuralPartialEq for ImplementedEnableExtension
Auto Trait Implementations§
impl Freeze for ImplementedEnableExtension
impl RefUnwindSafe for ImplementedEnableExtension
impl Send for ImplementedEnableExtension
impl Sync for ImplementedEnableExtension
impl Unpin for ImplementedEnableExtension
impl UnwindSafe for ImplementedEnableExtension
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<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.