Trait ssd1306::mode::DisplayConfig [−][src]
pub trait DisplayConfig { type Error; fn set_rotation(
&mut self,
rotation: DisplayRotation
) -> Result<(), Self::Error>; fn init(&mut self) -> Result<(), Self::Error>; }
Expand description
Common functions to all display modes.
Associated Types
Required methods
fn set_rotation(&mut self, rotation: DisplayRotation) -> Result<(), Self::Error>
fn set_rotation(&mut self, rotation: DisplayRotation) -> Result<(), Self::Error>
Set display rotation.
Implementors
impl<DI, SIZE> DisplayConfig for Ssd1306<DI, SIZE, BasicMode> where
DI: WriteOnlyDataCommand,
SIZE: DisplaySize,
impl<DI, SIZE> DisplayConfig for Ssd1306<DI, SIZE, BufferedGraphicsMode<SIZE>> where
DI: WriteOnlyDataCommand,
SIZE: DisplaySize,
impl<DI, SIZE> DisplayConfig for Ssd1306<DI, SIZE, TerminalMode> where
DI: WriteOnlyDataCommand,
SIZE: TerminalDisplaySize,