pub trait DisplayHardwareLayer {
// Required methods
fn set_direction(&self, _: Direction);
fn set_level(&self, _: Level);
fn get_value(&self) -> u8;
// Provided methods
fn init(&self) { ... }
fn cleanup(&self) { ... }
}Expand description
The DisplayHardwareLayer trait is intended to be implemented by the library user as a thin
wrapper around the hardware specific system calls.