pub enum EGPUPerformanceLevel {
k_EGPUPerformanceLevel_Invalid = 0,
k_EGPUPerformanceLevel_Auto = 1,
k_EGPUPerformanceLevel_Manual = 2,
k_EGPUPerformanceLevel_Low = 3,
k_EGPUPerformanceLevel_High = 4,
k_EGPUPerformanceLevel_Profiling = 5,
}
Variants§
k_EGPUPerformanceLevel_Invalid = 0
k_EGPUPerformanceLevel_Auto = 1
k_EGPUPerformanceLevel_Manual = 2
k_EGPUPerformanceLevel_Low = 3
k_EGPUPerformanceLevel_High = 4
k_EGPUPerformanceLevel_Profiling = 5
Trait Implementations§
source§impl Clone for EGPUPerformanceLevel
impl Clone for EGPUPerformanceLevel
source§fn clone(&self) -> EGPUPerformanceLevel
fn clone(&self) -> EGPUPerformanceLevel
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 EGPUPerformanceLevel
impl Debug for EGPUPerformanceLevel
source§impl Default for EGPUPerformanceLevel
impl Default for EGPUPerformanceLevel
source§impl Enum for EGPUPerformanceLevel
impl Enum for EGPUPerformanceLevel
source§const NAME: &'static str = "EGPUPerformanceLevel"
const NAME: &'static str = "EGPUPerformanceLevel"
Enum name as specified in
.proto
file. Read moresource§fn from_i32(value: i32) -> Option<EGPUPerformanceLevel>
fn from_i32(value: i32) -> Option<EGPUPerformanceLevel>
Try to create an enum from
i32
value.
Return None
if value is unknown.source§fn from_str(str: &str) -> Option<EGPUPerformanceLevel>
fn from_str(str: &str) -> Option<EGPUPerformanceLevel>
Try to create an enum from
&str
value.
Return None
if str is unknown.source§const VALUES: &'static [EGPUPerformanceLevel] = _
const VALUES: &'static [EGPUPerformanceLevel] = _
All enum values for enum type.
source§impl Hash for EGPUPerformanceLevel
impl Hash for EGPUPerformanceLevel
source§impl PartialEq for EGPUPerformanceLevel
impl PartialEq for EGPUPerformanceLevel
source§fn eq(&self, other: &EGPUPerformanceLevel) -> bool
fn eq(&self, other: &EGPUPerformanceLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EGPUPerformanceLevel
impl Eq for EGPUPerformanceLevel
impl StructuralPartialEq for EGPUPerformanceLevel
Auto Trait Implementations§
impl Freeze for EGPUPerformanceLevel
impl RefUnwindSafe for EGPUPerformanceLevel
impl Send for EGPUPerformanceLevel
impl Sync for EGPUPerformanceLevel
impl Unpin for EGPUPerformanceLevel
impl UnwindSafe for EGPUPerformanceLevel
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