#[repr(i32)]pub enum WGPUFeatureLevel {
Undefined = 0,
Compatibility = 1,
Core = 2,
}Variants§
Undefined = 0
Indicates no value is passed for this argument.
Compatibility = 1
Compatibility profile which can be supported on OpenGL ES 3.1 and D3D11.
Core = 2
Core profile which can be supported on Vulkan/Metal/D3D12 (at least).
Implementations§
Trait Implementations§
Source§impl Clone for WGPUFeatureLevel
impl Clone for WGPUFeatureLevel
Source§fn clone(&self) -> WGPUFeatureLevel
fn clone(&self) -> WGPUFeatureLevel
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 WGPUFeatureLevel
impl Debug for WGPUFeatureLevel
Source§impl Display for WGPUFeatureLevel
impl Display for WGPUFeatureLevel
Source§impl<'_derivative_strum> From<&'_derivative_strum WGPUFeatureLevel> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum WGPUFeatureLevel> for &'static str
Source§fn from(x: &'_derivative_strum WGPUFeatureLevel) -> &'static str
fn from(x: &'_derivative_strum WGPUFeatureLevel) -> &'static str
Converts to this type from the input type.
Source§impl From<WGPUFeatureLevel> for &'static str
impl From<WGPUFeatureLevel> for &'static str
Source§fn from(x: WGPUFeatureLevel) -> &'static str
fn from(x: WGPUFeatureLevel) -> &'static str
Converts to this type from the input type.
Source§impl FromStr for WGPUFeatureLevel
impl FromStr for WGPUFeatureLevel
Source§impl Hash for WGPUFeatureLevel
impl Hash for WGPUFeatureLevel
Source§impl IntoEnumIterator for WGPUFeatureLevel
impl IntoEnumIterator for WGPUFeatureLevel
type Iterator = WGPUFeatureLevelIter
fn iter() -> WGPUFeatureLevelIter ⓘ
Source§impl PartialEq for WGPUFeatureLevel
impl PartialEq for WGPUFeatureLevel
Source§impl TryFrom<&str> for WGPUFeatureLevel
impl TryFrom<&str> for WGPUFeatureLevel
impl Copy for WGPUFeatureLevel
impl Eq for WGPUFeatureLevel
impl StructuralPartialEq for WGPUFeatureLevel
Auto Trait Implementations§
impl Freeze for WGPUFeatureLevel
impl RefUnwindSafe for WGPUFeatureLevel
impl Send for WGPUFeatureLevel
impl Sync for WGPUFeatureLevel
impl Unpin for WGPUFeatureLevel
impl UnwindSafe for WGPUFeatureLevel
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