pub trait Variant {
const HAS_CHARGE_PUMP: bool;
const INIT_COMMANDS: &'static [Command];
}Expand description
Settings that differ between the controllers this driver supports.
Required Associated Constants§
Sourceconst HAS_CHARGE_PUMP: bool
const HAS_CHARGE_PUMP: bool
Whether the controller has an internal charge pump (command 0x8D).
Sourceconst INIT_COMMANDS: &'static [Command]
const INIT_COMMANDS: &'static [Command]
Controller-specific commands sent during initialization, before the display is turned on.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".