#[repr(transparent)]pub struct WGPUFeatureLevel(pub c_int);Tuple Fields§
§0: c_intImplementations§
§impl WGPUFeatureLevel
impl WGPUFeatureLevel
pub const Undefined: Self = raw::WGPUFeatureLevel_WGPUFeatureLevel_Undefined
pub const Compatibility: Self = raw::WGPUFeatureLevel_WGPUFeatureLevel_Compatibility
pub const Core: Self = raw::WGPUFeatureLevel_WGPUFeatureLevel_Core
Trait Implementations§
Source§impl Clone for WGPUFeatureLevel
impl Clone for WGPUFeatureLevel
Source§fn clone(&self) -> WGPUFeatureLevel
fn clone(&self) -> WGPUFeatureLevel
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 WGPUFeatureLevel
impl Debug for WGPUFeatureLevel
§impl Default for WGPUFeatureLevel
impl Default for WGPUFeatureLevel
Source§impl Hash for WGPUFeatureLevel
impl Hash for WGPUFeatureLevel
Source§impl Ord for WGPUFeatureLevel
impl Ord for WGPUFeatureLevel
Source§fn cmp(&self, other: &WGPUFeatureLevel) -> Ordering
fn cmp(&self, other: &WGPUFeatureLevel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WGPUFeatureLevel
impl PartialEq for WGPUFeatureLevel
Source§impl PartialOrd for WGPUFeatureLevel
impl PartialOrd 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