#[non_exhaustive]pub enum DisplayControlCmd {
SetMmiMode,
GetDisplayCharacterTableList,
GetInputCharacterTableList,
GetOverlayGraphicsCharacteristics,
GetFullScreenGraphicsCharacteristics,
Reserved(u8),
}Expand description
display_control_cmd 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.
SetMmiMode
01 — enter the MMI mode indicated by the MMI_mode byte.
GetDisplayCharacterTableList
02 — request the display character-table list.
GetInputCharacterTableList
03 — request the input character-table list.
GetOverlayGraphicsCharacteristics
04 — request the overlay-graphics profile.
GetFullScreenGraphicsCharacteristics
05 — request the full-screen-graphics profile.
Reserved(u8)
Any other value (reserved).
Implementations§
Trait Implementations§
Source§impl Clone for DisplayControlCmd
impl Clone for DisplayControlCmd
Source§fn clone(&self) -> DisplayControlCmd
fn clone(&self) -> DisplayControlCmd
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DisplayControlCmd
Source§impl Debug for DisplayControlCmd
impl Debug for DisplayControlCmd
Source§impl Display for DisplayControlCmd
impl Display for DisplayControlCmd
impl Eq for DisplayControlCmd
Source§impl PartialEq for DisplayControlCmd
impl PartialEq for DisplayControlCmd
Source§fn eq(&self, other: &DisplayControlCmd) -> bool
fn eq(&self, other: &DisplayControlCmd) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DisplayControlCmd
impl Serialize for DisplayControlCmd
impl StructuralPartialEq for DisplayControlCmd
Auto Trait Implementations§
impl Freeze for DisplayControlCmd
impl RefUnwindSafe for DisplayControlCmd
impl Send for DisplayControlCmd
impl Sync for DisplayControlCmd
impl Unpin for DisplayControlCmd
impl UnsafeUnpin for DisplayControlCmd
impl UnwindSafe for DisplayControlCmd
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