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

Error.

Required methods

Set display rotation.

Initialise and configure the display for the given mode.

Implementors