pub enum RegisterSelection {
Command,
Data,
}Expand description
RegisterSelection defines LCD1602’s register type that driver interact with.
A sender should change its “RS” pin state based on this variant.
Variants§
Trait Implementations§
Source§impl Clone for RegisterSelection
impl Clone for RegisterSelection
Source§fn clone(&self) -> RegisterSelection
fn clone(&self) -> RegisterSelection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for RegisterSelection
impl PartialEq for RegisterSelection
impl Copy for RegisterSelection
impl StructuralPartialEq for RegisterSelection
Auto Trait Implementations§
impl Freeze for RegisterSelection
impl RefUnwindSafe for RegisterSelection
impl Send for RegisterSelection
impl Sync for RegisterSelection
impl Unpin for RegisterSelection
impl UnwindSafe for RegisterSelection
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