Skip to main content

Variant

Trait Variant 

Source
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§

Source

const HAS_CHARGE_PUMP: bool

Whether the controller has an internal charge pump (command 0x8D).

Source

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".

Implementors§