pub struct Config { /* private fields */ }
Implementations§
Source§impl Config
impl Config
pub fn get_backlight(&self) -> State
pub fn set_backlight(self, backlight: State) -> Self
pub fn get_data_width(&self) -> DataWidth
pub fn set_data_width(self, data_width: DataWidth) -> Self
pub fn get_line_mode(&self) -> LineMode
pub fn set_line_mode(self, line_mode: LineMode) -> Self
pub fn get_line_capacity(&self) -> u8
pub fn get_font(&self) -> Font
pub fn set_font(self, font: Font) -> Self
pub fn get_display_state(&self) -> State
pub fn set_display_state(self, display: State) -> Self
pub fn get_cursor_state(&self) -> State
pub fn set_cursor_state(self, cursor: State) -> Self
pub fn get_cursor_blink(&self) -> State
pub fn set_cursor_blink(self, blink: State) -> Self
pub fn get_direction(&self) -> MoveDirection
pub fn set_direction(self, dir: MoveDirection) -> Self
pub fn get_shift_type(&self) -> ShiftType
pub fn set_shift_type(self, shift: ShiftType) -> Self
pub fn get_cursor_pos(&self) -> (u8, u8)
pub fn set_cursor_pos(self, pos: (u8, u8)) -> Self
pub fn get_display_offset(&self) -> u8
pub fn set_display_offset(self, offset: u8) -> Self
pub fn get_ram_type(&self) -> RAMType
pub fn set_ram_type(self, ram_type: RAMType) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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