pub enum RecoveryDeviceInputMethod {
ScrambledWords = 0,
Matrix = 1,
}
Variants§
Trait Implementations§
source§impl Clone for RecoveryDeviceInputMethod
impl Clone for RecoveryDeviceInputMethod
source§fn clone(&self) -> RecoveryDeviceInputMethod
fn clone(&self) -> RecoveryDeviceInputMethod
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 RecoveryDeviceInputMethod
impl Debug for RecoveryDeviceInputMethod
source§impl Default for RecoveryDeviceInputMethod
impl Default for RecoveryDeviceInputMethod
source§impl Enum for RecoveryDeviceInputMethod
impl Enum for RecoveryDeviceInputMethod
source§const NAME: &'static str = "RecoveryDeviceInputMethod"
const NAME: &'static str = "RecoveryDeviceInputMethod"
Enum name as specified in
.proto
file. Read moresource§fn from_i32(value: i32) -> Option<RecoveryDeviceInputMethod>
fn from_i32(value: i32) -> Option<RecoveryDeviceInputMethod>
Try to create an enum from
i32
value.
Return None
if value is unknown.source§fn from_str(str: &str) -> Option<RecoveryDeviceInputMethod>
fn from_str(str: &str) -> Option<RecoveryDeviceInputMethod>
Try to create an enum from
&str
value.
Return None
if str is unknown.source§const VALUES: &'static [RecoveryDeviceInputMethod] = _
const VALUES: &'static [RecoveryDeviceInputMethod] = _
All enum values for enum type.
source§impl EnumFull for RecoveryDeviceInputMethod
impl EnumFull for RecoveryDeviceInputMethod
source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
source§impl Hash for RecoveryDeviceInputMethod
impl Hash for RecoveryDeviceInputMethod
source§impl PartialEq for RecoveryDeviceInputMethod
impl PartialEq for RecoveryDeviceInputMethod
source§fn eq(&self, other: &RecoveryDeviceInputMethod) -> bool
fn eq(&self, other: &RecoveryDeviceInputMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RecoveryDeviceInputMethod
impl Eq for RecoveryDeviceInputMethod
impl StructuralPartialEq for RecoveryDeviceInputMethod
Auto Trait Implementations§
impl Freeze for RecoveryDeviceInputMethod
impl RefUnwindSafe for RecoveryDeviceInputMethod
impl Send for RecoveryDeviceInputMethod
impl Sync for RecoveryDeviceInputMethod
impl Unpin for RecoveryDeviceInputMethod
impl UnwindSafe for RecoveryDeviceInputMethod
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)