[−][src]Struct ssd1362::terminal::terminal::TerminalView
Implementations
impl<DI, F> TerminalView<DI, F> where
DI: WriteOnlyDataCommand,
F: TerminalFont,
[src]
DI: WriteOnlyDataCommand,
F: TerminalFont,
pub fn new(display: Display<DI>, font: F) -> Self
[src]
Create new TerminalView instance
pub fn init(&mut self) -> Result<(), DisplayError>
[src]
pub fn write_string(&mut self, s: &str) -> Result<(), DisplayError>
[src]
pub fn render(&mut self) -> Result<(), DisplayError>
[src]
pub fn set_scroll_offset(&mut self, offset: usize)
[src]
Trait Implementations
impl<DI, F> Write for TerminalView<DI, F> where
DI: WriteOnlyDataCommand,
F: TerminalFont,
[src]
DI: WriteOnlyDataCommand,
F: TerminalFont,
Auto Trait Implementations
impl<DI, F> Send for TerminalView<DI, F> where
DI: Send,
F: Send,
DI: Send,
F: Send,
impl<DI, F> Sync for TerminalView<DI, F> where
DI: Sync,
F: Sync,
DI: Sync,
F: Sync,
impl<DI, F> Unpin for TerminalView<DI, F> where
DI: Unpin,
F: Unpin,
DI: Unpin,
F: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,