#[repr(i32)]pub enum TrustedOverlay {
Unset = 0,
Disabled = 1,
Enabled = 2,
}
Variants§
Implementations§
Source§impl TrustedOverlay
impl TrustedOverlay
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.
Trait Implementations§
Source§impl Clone for TrustedOverlay
impl Clone for TrustedOverlay
Source§fn clone(&self) -> TrustedOverlay
fn clone(&self) -> TrustedOverlay
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 TrustedOverlay
impl Debug for TrustedOverlay
Source§impl Default for TrustedOverlay
impl Default for TrustedOverlay
Source§fn default() -> TrustedOverlay
fn default() -> TrustedOverlay
Returns the “default value” for a type. Read more
Source§impl From<TrustedOverlay> for i32
impl From<TrustedOverlay> for i32
Source§fn from(value: TrustedOverlay) -> i32
fn from(value: TrustedOverlay) -> i32
Converts to this type from the input type.
Source§impl Hash for TrustedOverlay
impl Hash for TrustedOverlay
Source§impl Ord for TrustedOverlay
impl Ord for TrustedOverlay
Source§fn cmp(&self, other: &TrustedOverlay) -> Ordering
fn cmp(&self, other: &TrustedOverlay) -> 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 TrustedOverlay
impl PartialEq for TrustedOverlay
Source§impl PartialOrd for TrustedOverlay
impl PartialOrd for TrustedOverlay
impl Copy for TrustedOverlay
impl Eq for TrustedOverlay
impl StructuralPartialEq for TrustedOverlay
Auto Trait Implementations§
impl Freeze for TrustedOverlay
impl RefUnwindSafe for TrustedOverlay
impl Send for TrustedOverlay
impl Sync for TrustedOverlay
impl Unpin for TrustedOverlay
impl UnwindSafe for TrustedOverlay
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