Enum svd_encoder::NumberFormat
source · pub enum NumberFormat {
UpperHex,
UpperHex8,
UpperHex16,
LowerHex,
LowerHex8,
LowerHex16,
Dec,
Bin,
}Variants§
UpperHex
UpperHex format
0xABCD
UpperHex8
UpperHex8 format
0x0000ABCD
UpperHex16
UpperHex16 format
0x0000ABCD 0x0000000123456789
LowerHex
LowerHex format
0xabcdef
LowerHex8
LowerHex8 format
0x0000abcd
LowerHex16
LowerHex16 format
0x0000abcd 0x0000000123456789
Dec
Dec format
12345
Bin
Bin
0b10101010
Trait Implementations§
source§impl Clone for NumberFormat
impl Clone for NumberFormat
source§fn clone(&self) -> NumberFormat
fn clone(&self) -> NumberFormat
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 NumberFormat
impl Debug for NumberFormat
source§impl FromStr for NumberFormat
impl FromStr for NumberFormat
source§impl PartialEq<NumberFormat> for NumberFormat
impl PartialEq<NumberFormat> for NumberFormat
source§fn eq(&self, other: &NumberFormat) -> bool
fn eq(&self, other: &NumberFormat) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for NumberFormat
impl Eq for NumberFormat
impl StructuralEq for NumberFormat
impl StructuralPartialEq for NumberFormat
Auto Trait Implementations§
impl RefUnwindSafe for NumberFormat
impl Send for NumberFormat
impl Sync for NumberFormat
impl Unpin for NumberFormat
impl UnwindSafe for NumberFormat
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.