[−][src]Enum ssd1351::command::Command
Variants
Column(u8, u8)
Column address
Row(u8, u8)
Row address
CommandLock(u8)
CommandLock
DisplayOn(bool)
DisplayOn
WriteRam
WriteRam
ClockDiv(u8)
ClockDiv
MuxRatio(u8)
MuxRatio
SetRemap(bool, bool, bool)
SetRemap - horizontal or vertical increment, SegmentRemap, Reverse scan direction
StartLine(u8)
Display Start Row
DisplayOffset(u8)
DisplayOffset
SetGpio(u8)
SetGpio
FunctionSelect(u8)
FunctionSelect
PreCharge(u8)
PreCharge
Vcomh(u8)
Vcomh
Invert(bool)
NormalDisplayOn
Contrast(u8)
Contrast
ContrastCurrent(u8)
ContrastMaster
SetVsl
SetVsl
PreCharge2(u8)
SetPrecharge
Methods
impl Command
[src]
pub fn send<DI>(self, iface: &mut DI) -> Result<(), ()> where
DI: DisplayInterface,
[src]
DI: DisplayInterface,
Send command to SSD1351
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,