[−][src]Trait sh1106::mode::displaymode::DisplayModeTrait
Trait with core functionality for display mode switching
Required methods
pub fn new(properties: DisplayProperties<DI>) -> Self
[src]
Allocate all required data and initialise display for mode
pub fn release(self) -> DisplayProperties<DI>
[src]
Release resources for reuse with different mode
Implementors
impl<DI> DisplayModeTrait<DI> for GraphicsMode<DI> where
DI: DisplayInterface,
[src]
DI: DisplayInterface,
pub fn new(properties: DisplayProperties<DI>) -> Self
[src]
Create new GraphicsMode instance
pub fn release(self) -> DisplayProperties<DI>
[src]
Release all resources used by GraphicsMode
impl<DI> DisplayModeTrait<DI> for RawMode<DI> where
DI: DisplayInterface,
[src]
DI: DisplayInterface,
pub fn new(properties: DisplayProperties<DI>) -> Self
[src]
Create new RawMode instance
pub fn release(self) -> DisplayProperties<DI>
[src]
Release all resources used by RawMode