#[non_exhaustive]pub enum MmiMode {
HighLevel,
LowLevelOverlayGraphics,
LowLevelFullScreenGraphics,
Reserved(u8),
}Expand description
mmi_mode values (Table 34, p. 37).
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.
HighLevel
01 — open a high-level MMI session.
LowLevelOverlayGraphics
02 — open a low-level overlay-graphics session.
LowLevelFullScreenGraphics
03 — open a low-level full-screen-graphics session.
Reserved(u8)
Any other value (reserved).
Implementations§
Trait Implementations§
impl Copy for MmiMode
impl Eq for MmiMode
impl StructuralPartialEq for MmiMode
Auto Trait Implementations§
impl Freeze for MmiMode
impl RefUnwindSafe for MmiMode
impl Send for MmiMode
impl Sync for MmiMode
impl Unpin for MmiMode
impl UnsafeUnpin for MmiMode
impl UnwindSafe for MmiMode
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