Enum CpuFeatureLevel

pub enum CpuFeatureLevel

Variants

RUST

Implementations

impl CpuFeatureLevel

fn variants() -> [&'static str; 1]

Returns an array of valid values which can be converted into this enum.

fn descriptions() -> [(&'static [&'static str], &'static [&'static str]); 1]

Returns an array of touples (variants, description)

Trait Implementations

impl Clone for CpuFeatureLevel

fn clone(&self) -> CpuFeatureLevel

impl Copy for CpuFeatureLevel

impl Debug for CpuFeatureLevel

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for CpuFeatureLevel

fn default() -> CpuFeatureLevel

impl Display for CpuFeatureLevel

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for CpuFeatureLevel

impl FromStr for CpuFeatureLevel

type Err = String;
fn from_str(s: &str) -> Result<Self, Self::Err>

impl PartialEq for CpuFeatureLevel

fn eq(&self, other: &CpuFeatureLevel) -> bool

impl PartialOrd for CpuFeatureLevel

fn partial_cmp(&self, other: &CpuFeatureLevel) -> Option<Ordering>

impl StructuralPartialEq for CpuFeatureLevel

Auto Trait Implementations

impl Freeze for CpuFeatureLevel

impl RefUnwindSafe for CpuFeatureLevel

impl Send for CpuFeatureLevel

impl Sync for CpuFeatureLevel

impl Unpin for CpuFeatureLevel

impl UnsafeUnpin for CpuFeatureLevel

impl UnwindSafe for CpuFeatureLevel

Blanket Implementations

impl<T> Any for CpuFeatureLevel where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for CpuFeatureLevel where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for CpuFeatureLevel where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for CpuFeatureLevel where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for CpuFeatureLevel

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> IntoEither for CpuFeatureLevel

impl<T> Pointable for CpuFeatureLevel

const ALIGN: usize = _;
type Init = T;
unsafe fn init(init: <T as Pointable>::Init) -> usize
unsafe fn deref<'a>(ptr: usize) -> &'a T
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
unsafe fn drop(ptr: usize)

impl<T> ToOwned for CpuFeatureLevel where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T> ToString for CpuFeatureLevel where T: Display + ?Sized,

fn to_string(&self) -> String

impl<T, U> Into<U> for CpuFeatureLevel where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for CpuFeatureLevel where U: Into<T>,

type Error = Infallible;
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto<U> for CpuFeatureLevel where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>