#[repr(C)]pub struct FeatureLevel(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl FeatureLevel
impl FeatureLevel
pub const LEVEL_9_1: FeatureLevel
pub const LEVEL_9_2: FeatureLevel
pub const LEVEL_9_3: FeatureLevel
pub const LEVEL_10_0: FeatureLevel
pub const LEVEL_10_1: FeatureLevel
pub const LEVEL_11_0: FeatureLevel
pub const LEVEL_11_1: FeatureLevel
pub const LEVEL_12_0: FeatureLevel
pub const LEVEL_12_1: FeatureLevel
pub fn major(&self) -> u32
pub fn minor(&self) -> u32
Trait Implementations§
Source§impl Clone for FeatureLevel
impl Clone for FeatureLevel
Source§fn clone(&self) -> FeatureLevel
fn clone(&self) -> FeatureLevel
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 FeatureLevel
impl Debug for FeatureLevel
Source§impl Hash for FeatureLevel
impl Hash for FeatureLevel
Source§impl Ord for FeatureLevel
impl Ord for FeatureLevel
Source§fn cmp(&self, other: &FeatureLevel) -> Ordering
fn cmp(&self, other: &FeatureLevel) -> 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 FeatureLevel
impl PartialEq for FeatureLevel
Source§impl PartialOrd for FeatureLevel
impl PartialOrd for FeatureLevel
impl Copy for FeatureLevel
impl Eq for FeatureLevel
impl StructuralPartialEq for FeatureLevel
Auto Trait Implementations§
impl Freeze for FeatureLevel
impl RefUnwindSafe for FeatureLevel
impl Send for FeatureLevel
impl Sync for FeatureLevel
impl Unpin for FeatureLevel
impl UnwindSafe for FeatureLevel
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