[−][src]Trait ssd1306::mode::displaymode::DisplayModeTrait
Trait with core functionality for display mode switching
Required methods
pub fn new(properties: DisplayProperties<DI, DSIZE>) -> Self
[src]
Allocate all required data and initialise display for mode
pub fn into_properties(self) -> DisplayProperties<DI, DSIZE>
[src]
Deconstruct object and retrieve DisplayProperties
Provided methods
pub fn release(self) -> DI
[src]
Release display interface
pub fn reset<RST, DELAY, PinE>(
&mut self,
rst: &mut RST,
delay: &mut DELAY
) -> Result<(), Error<(), PinE>> where
RST: OutputPin<Error = PinE>,
DELAY: DelayMs<u8>,
[src]
&mut self,
rst: &mut RST,
delay: &mut DELAY
) -> Result<(), Error<(), PinE>> where
RST: OutputPin<Error = PinE>,
DELAY: DelayMs<u8>,
Reset the display
Implementors
impl<DI, DSIZE> DisplayModeTrait<DI, DSIZE> for GraphicsMode<DI, DSIZE> where
DSIZE: DisplaySize,
[src]
DSIZE: DisplaySize,
pub fn new(properties: DisplayProperties<DI, DSIZE>) -> Self
[src]
Create new GraphicsMode instance
pub fn into_properties(self) -> DisplayProperties<DI, DSIZE>
[src]
Release display interface used by GraphicsMode
impl<DI, DSIZE> DisplayModeTrait<DI, DSIZE> for TerminalMode<DI, DSIZE> where
DI: WriteOnlyDataCommand,
DSIZE: TerminalDisplaySize,
[src]
DI: WriteOnlyDataCommand,
DSIZE: TerminalDisplaySize,
pub fn new(properties: DisplayProperties<DI, DSIZE>) -> Self
[src]
Create new TerminalMode instance
pub fn into_properties(self) -> DisplayProperties<DI, DSIZE>
[src]
Release display interface used by TerminalMode