#[repr(u32)]
pub enum Format {
Show 41 variants
Default,
Boolean,
Binary,
Bytes,
BytesWithASCII,
Char,
CharPrintable,
Complex,
CString,
Decimal,
Enum,
Hex,
HexUppercase,
Float,
Octal,
OSType,
Unicode16,
Unicode32,
Unsigned,
Pointer,
VectorOfChar,
VectorOfSInt8,
VectorOfUInt8,
VectorOfSInt16,
VectorOfUInt16,
VectorOfSInt32,
VectorOfUInt32,
VectorOfSInt64,
VectorOfUInt64,
VectorOfFloat16,
VectorOfFloat32,
VectorOfFloat64,
VectorOfUInt128,
ComplexInteger,
CharArray,
AddressInfo,
HexFloat,
Instruction,
Void,
Unicode8,
kNumFormats,
}
Expand description
Display format definitions.
Variants
Default
Boolean
Binary
Bytes
BytesWithASCII
Char
CharPrintable
Complex
CString
Decimal
Enum
Hex
HexUppercase
Float
Octal
OSType
Unicode16
Unicode32
Unsigned
Pointer
VectorOfChar
VectorOfSInt8
VectorOfUInt8
VectorOfSInt16
VectorOfUInt16
VectorOfSInt32
VectorOfUInt32
VectorOfSInt64
VectorOfUInt64
VectorOfFloat16
VectorOfFloat32
VectorOfFloat64
VectorOfUInt128
ComplexInteger
CharArray
AddressInfo
HexFloat
Instruction
Void
Unicode8
kNumFormats
Trait Implementations
sourceimpl PartialOrd<Format> for Format
impl PartialOrd<Format> for Format
sourcefn partial_cmp(&self, other: &Format) -> Option<Ordering>
fn partial_cmp(&self, other: &Format) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Format
impl Eq for Format
impl StructuralEq for Format
impl StructuralPartialEq for Format
Auto Trait Implementations
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnwindSafe for Format
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more