pub enum LcdDisplayType {
Lcd20x4,
Lcd20x2,
Lcd16x2,
Lcd16x4,
Lcd8x2,
Lcd40x2,
Lcd40x4,
}
Expand description
The type of LCD display. This is used to determine the number of rows and columns, and the row offsets.
Variants§
Lcd20x4
20x4 display
Lcd20x2
20x2 display
Lcd16x2
16x2 display
Lcd16x4
16x4 display
Lcd8x2
8x2 display
Lcd40x2
40x2 display
Lcd40x4
40x4 display. Should be used with a DualHD44780 adapter.
Trait Implementations§
Source§impl Clone for LcdDisplayType
impl Clone for LcdDisplayType
Source§fn clone(&self) -> LcdDisplayType
fn clone(&self) -> LcdDisplayType
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 Debug for LcdDisplayType
impl Debug for LcdDisplayType
Source§impl Display for LcdDisplayType
impl Display for LcdDisplayType
Source§impl From<&LcdDisplayType> for &'static str
impl From<&LcdDisplayType> for &'static str
Source§fn from(display_type: &LcdDisplayType) -> Self
fn from(display_type: &LcdDisplayType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LcdDisplayType
impl PartialEq for LcdDisplayType
impl Copy for LcdDisplayType
impl StructuralPartialEq for LcdDisplayType
Auto Trait Implementations§
impl Freeze for LcdDisplayType
impl RefUnwindSafe for LcdDisplayType
impl Send for LcdDisplayType
impl Sync for LcdDisplayType
impl Unpin for LcdDisplayType
impl UnwindSafe for LcdDisplayType
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