Struct clerk::EntryModeBuilder
[−]
[src]
pub struct EntryModeBuilder { /* fields omitted */ }
A struct for creating display entry mode settings.
Methods
impl EntryModeBuilder
[src]
fn set_move_direction(&mut self, direction: MoveDirection) -> &mut Self
Sets the direction the read/write cursor is moved when a character code is written to or read from the display.
fn set_display_shift(&mut self, shift: DisplayShift) -> &mut Self
Sets the display shift, which will be performed on character write, either On
or Off
.
If display shift is enabled, it will seem as if the cursor does not move but the display does.
Note: The display does not shift when reading.
fn build_command(&self) -> u8
Trait Implementations
impl Default for EntryModeBuilder
[src]
fn default() -> Self
Make a new EntryModeBuilder
with the default settings described below.
The default settings are:
- move direction:
Increment
- display_shift:
Off