Struct clerk::DisplayControlBuilder
[−]
[src]
pub struct DisplayControlBuilder { /* fields omitted */ }
A struct for creating display control settings.
Methods
impl DisplayControlBuilder
[src]
fn set_display(&mut self, state: DisplayState) -> &mut Self
Sets the entire display On
or Off
.
Default is On
.
fn set_cursor(&mut self, state: CursorState) -> &mut Self
Sets the cursor On
or Off
.
Default is Off
.
Note: This will not change cursor move direction or any other settings.
fn set_cursor_blinking(&mut self, blinking: CursorBlinking) -> &mut Self
Sets the blinking of the cursor On
of Off
.
Default is Off
.
fn build_command(&self) -> u8
Trait Implementations
impl Default for DisplayControlBuilder
[src]
fn default() -> Self
Makes a new DisplayControlBuilder
using the default settings described below.
The default settings are:
- display:
On
- cursor:
Off
- blinkinging of cursor:
Off