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