pub enum Commands {
Enter4Bit(Enter4Bit),
WriteChar(WriteChar),
SetBacklight(SetBacklight),
ClearDisplay(ClearDisplay),
ReturnHome(ReturnHome),
EntryModeSet(EntryModeSet),
DisplayOnOnff(DisplayOnOff),
CursorOrDisplayShift(CursorOrDisplayShift),
FunctionSet(FunctionSet),
SetCGRamAddress(SetCGRamAddress),
SetDDRamAddress(SetDDRamAddress),
}Variants§
Enter4Bit(Enter4Bit)
WriteChar(WriteChar)
SetBacklight(SetBacklight)
ClearDisplay(ClearDisplay)
ReturnHome(ReturnHome)
EntryModeSet(EntryModeSet)
DisplayOnOnff(DisplayOnOff)
CursorOrDisplayShift(CursorOrDisplayShift)
FunctionSet(FunctionSet)
SetCGRamAddress(SetCGRamAddress)
SetDDRamAddress(SetDDRamAddress)
Trait Implementations§
Source§impl AsyncCommand for Commands
Available on crate feature async only.
impl AsyncCommand for Commands
Available on crate feature
async only.Source§impl From<ClearDisplay> for Commands
impl From<ClearDisplay> for Commands
Source§fn from(cmd: ClearDisplay) -> Self
fn from(cmd: ClearDisplay) -> Self
Converts to this type from the input type.
Source§impl From<CursorOrDisplayShift> for Commands
impl From<CursorOrDisplayShift> for Commands
Source§fn from(cmd: CursorOrDisplayShift) -> Self
fn from(cmd: CursorOrDisplayShift) -> Self
Converts to this type from the input type.
Source§impl From<DisplayOnOff> for Commands
impl From<DisplayOnOff> for Commands
Source§fn from(cmd: DisplayOnOff) -> Self
fn from(cmd: DisplayOnOff) -> Self
Converts to this type from the input type.
Source§impl From<EntryModeSet> for Commands
impl From<EntryModeSet> for Commands
Source§fn from(cmd: EntryModeSet) -> Self
fn from(cmd: EntryModeSet) -> Self
Converts to this type from the input type.
Source§impl From<FunctionSet> for Commands
impl From<FunctionSet> for Commands
Source§fn from(cmd: FunctionSet) -> Self
fn from(cmd: FunctionSet) -> Self
Converts to this type from the input type.
Source§impl From<ReturnHome> for Commands
impl From<ReturnHome> for Commands
Source§fn from(cmd: ReturnHome) -> Self
fn from(cmd: ReturnHome) -> Self
Converts to this type from the input type.
Source§impl From<SetBacklight> for Commands
impl From<SetBacklight> for Commands
Source§fn from(cmd: SetBacklight) -> Self
fn from(cmd: SetBacklight) -> Self
Converts to this type from the input type.
Source§impl From<SetCGRamAddress> for Commands
impl From<SetCGRamAddress> for Commands
Source§fn from(cmd: SetCGRamAddress) -> Self
fn from(cmd: SetCGRamAddress) -> Self
Converts to this type from the input type.
Source§impl From<SetDDRamAddress> for Commands
impl From<SetDDRamAddress> for Commands
Source§fn from(cmd: SetDDRamAddress) -> Self
fn from(cmd: SetDDRamAddress) -> Self
Converts to this type from the input type.
Source§impl SyncCommand for Commands
impl SyncCommand for Commands
impl Eq for Commands
impl StructuralPartialEq for Commands
Auto Trait Implementations§
impl Freeze for Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnwindSafe for Commands
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