#[non_exhaustive]pub enum PrintFormat {
Float,
Hex,
}Expand description
A print output format, gdb’s /f and /x suffixes. Non-exhaustive: a
later format is an additive change here, not a breaking one.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for PrintFormat
impl Clone for PrintFormat
impl Copy for PrintFormat
Source§impl Debug for PrintFormat
impl Debug for PrintFormat
impl Eq for PrintFormat
Source§impl PartialEq for PrintFormat
impl PartialEq for PrintFormat
impl StructuralPartialEq for PrintFormat
Auto Trait Implementations§
impl Freeze for PrintFormat
impl RefUnwindSafe for PrintFormat
impl Send for PrintFormat
impl Sync for PrintFormat
impl Unpin for PrintFormat
impl UnsafeUnpin for PrintFormat
impl UnwindSafe for PrintFormat
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