#[repr(i32)]pub enum EgrMode {
KEgrModeNever = 0,
KEgrModeAlways = 1,
KEgrModeManual = 2,
}Variants§
Implementations§
Source§impl EgrMode
impl EgrMode
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
impl Copy for EgrMode
impl Eq for EgrMode
Source§impl Ord for EgrMode
impl Ord for EgrMode
1.21.0 (const: unstable) · 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 PartialOrd for EgrMode
impl PartialOrd for EgrMode
impl StructuralPartialEq for EgrMode
Auto Trait Implementations§
impl Freeze for EgrMode
impl RefUnwindSafe for EgrMode
impl Send for EgrMode
impl Sync for EgrMode
impl Unpin for EgrMode
impl UnsafeUnpin for EgrMode
impl UnwindSafe for EgrMode
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