[][src]Struct ssd1351::mode::displaymode::DisplayMode

pub struct DisplayMode<MODE> {
    pub display: MODE,
}

Display display abstraction

Fields

display: MODE

Methods

impl<MODE> DisplayMode<MODE>[src]

pub fn new<DI>(display: Display<DI>) -> Self where
    DI: DisplayInterface,
    MODE: DisplayModeTrait<DI>, 
[src]

Setup display to run in requested display

pub fn into<DI, NMODE: DisplayModeTrait<DI>>(self) -> NMODE where
    DI: DisplayInterface,
    MODE: DisplayModeTrait<DI>, 
[src]

Change into any display implementing DisplayModeTrait

Auto Trait Implementations

impl<MODE> Send for DisplayMode<MODE> where
    MODE: Send

impl<MODE> Sync for DisplayMode<MODE> where
    MODE: Sync

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]