pub struct St7032i<'a, I, W, A, D, N = Two, DH = Single>where
W: Write<A> + WriteIter<A>,
A: AddressMode + Copy,
D: From<ExecutionTime>,
N: DisplayRows,
DH: CharacterHeight,{ /* private fields */ }
Implementations§
source§impl<'a, W, A, D, N, DH> St7032i<'a, Unknown, W, A, D, N, DH>where
W: Write<A> + WriteIter<A>,
A: AddressMode + Copy,
D: From<ExecutionTime>,
N: DisplayRows,
DH: CharacterHeight,
impl<'a, W, A, D, N, DH> St7032i<'a, Unknown, W, A, D, N, DH>where
W: Write<A> + WriteIter<A>,
A: AddressMode + Copy,
D: From<ExecutionTime>,
N: DisplayRows,
DH: CharacterHeight,
source§impl<'a, I, W, A, D, N, DH> St7032i<'a, I, W, A, D, N, DH>where
W: Write<A> + WriteIter<A>,
A: AddressMode + Copy,
D: From<ExecutionTime>,
N: DisplayRows,
DH: CharacterHeight,
impl<'a, I, W, A, D, N, DH> St7032i<'a, I, W, A, D, N, DH>where
W: Write<A> + WriteIter<A>,
A: AddressMode + Copy,
D: From<ExecutionTime>,
N: DisplayRows,
DH: CharacterHeight,
pub fn set_instruction_set<ITarget: InstructionSet>( self, ) -> Result<(St7032i<'a, ITarget, W, A, D, N, DH>, D), <W as Write<A>>::Error>
pub fn write_raw(&mut self, data: &[u8]) -> Result<(), <W as Write<A>>::Error>
pub fn write_iter_raw<B>(
&mut self,
data: B,
) -> Result<(), <W as WriteIter<A>>::Error>where
B: IntoIterator<Item = u8>,
source§impl<'a, I, W, A, D, N, DH> St7032i<'a, I, W, A, D, N, DH>where
I: InstructionSet,
W: Write<A> + WriteIter<A>,
A: AddressMode + Copy,
D: From<ExecutionTime>,
N: DisplayRows,
DH: CharacterHeight,
impl<'a, I, W, A, D, N, DH> St7032i<'a, I, W, A, D, N, DH>where
I: InstructionSet,
W: Write<A> + WriteIter<A>,
A: AddressMode + Copy,
D: From<ExecutionTime>,
N: DisplayRows,
DH: CharacterHeight,
pub fn cmd_clear_display(&mut self) -> Result<D, <W as Write<A>>::Error>
pub fn cmd_display_on_off( &mut self, display: bool, cursor: bool, cursor_blink: bool, ) -> Result<D, <W as Write<A>>::Error>
pub fn cmd_set_ddram_address( &mut self, addr: u8, ) -> Result<D, <W as Write<A>>::Error>
pub fn cmd_write_chars<C>( &mut self, chars: C, ) -> Result<D, <W as WriteIter<A>>::Error>
pub fn cmd_write_bytes<C>( &mut self, bytes: C, ) -> Result<D, <W as WriteIter<A>>::Error>
source§impl<'a, W, A, D, N, DH> St7032i<'a, Normal, W, A, D, N, DH>where
W: Write<A> + WriteIter<A>,
A: AddressMode + Copy,
D: From<ExecutionTime>,
N: DisplayRows,
DH: CharacterHeight,
impl<'a, W, A, D, N, DH> St7032i<'a, Normal, W, A, D, N, DH>where
W: Write<A> + WriteIter<A>,
A: AddressMode + Copy,
D: From<ExecutionTime>,
N: DisplayRows,
DH: CharacterHeight,
pub fn cmd_set_cgram_address( &mut self, addr: u8, ) -> Result<D, <W as Write<A>>::Error>
source§impl<'a, W, A, D, N, DH> St7032i<'a, Extention, W, A, D, N, DH>where
W: Write<A> + WriteIter<A>,
A: AddressMode + Copy,
D: From<ExecutionTime>,
N: DisplayRows,
DH: CharacterHeight,
impl<'a, W, A, D, N, DH> St7032i<'a, Extention, W, A, D, N, DH>where
W: Write<A> + WriteIter<A>,
A: AddressMode + Copy,
D: From<ExecutionTime>,
N: DisplayRows,
DH: CharacterHeight,
pub fn cmd_internal_osc_frequency( &mut self, ) -> Result<D, <W as Write<A>>::Error>
pub fn cmd_power_icon_contrast_set( &mut self, icon: bool, booster: bool, contrast_hi2: u8, ) -> Result<D, <W as Write<A>>::Error>
pub fn cmd_follower_control( &mut self, enable: bool, ratio: u8, ) -> Result<D, <W as Write<A>>::Error>
pub fn cmd_contrast_set( &mut self, contrast_low4: u8, ) -> Result<D, <W as Write<A>>::Error>
Trait Implementations§
source§impl<'a, W, A, D, N, DH> Write for St7032i<'a, Normal, W, A, D, N, DH>where
W: Write<A> + WriteIter<A>,
A: AddressMode + Copy,
D: From<ExecutionTime>,
N: DisplayRows,
DH: CharacterHeight,
impl<'a, W, A, D, N, DH> Write for St7032i<'a, Normal, W, A, D, N, DH>where
W: Write<A> + WriteIter<A>,
A: AddressMode + Copy,
D: From<ExecutionTime>,
N: DisplayRows,
DH: CharacterHeight,
Auto Trait Implementations§
impl<'a, I, W, A, D, N, DH> Freeze for St7032i<'a, I, W, A, D, N, DH>where
A: Freeze,
impl<'a, I, W, A, D, N, DH> RefUnwindSafe for St7032i<'a, I, W, A, D, N, DH>where
A: RefUnwindSafe,
W: RefUnwindSafe,
I: RefUnwindSafe,
D: RefUnwindSafe,
N: RefUnwindSafe,
DH: RefUnwindSafe,
impl<'a, I, W, A, D, N, DH> Send for St7032i<'a, I, W, A, D, N, DH>
impl<'a, I, W, A, D, N, DH> Sync for St7032i<'a, I, W, A, D, N, DH>
impl<'a, I, W, A, D, N, DH> Unpin for St7032i<'a, I, W, A, D, N, DH>
impl<'a, I, W, A, D, N = Two, DH = Single> !UnwindSafe for St7032i<'a, I, W, A, D, N, DH>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more