[][src]Struct ssd1362::terminal::terminal::TerminalView

pub struct TerminalView<DI, F> { /* fields omitted */ }

Implementations

impl<DI, F> TerminalView<DI, F> where
    DI: WriteOnlyDataCommand,
    F: TerminalFont
[src]

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]

Auto Trait Implementations

impl<DI, F> Send for TerminalView<DI, F> where
    DI: Send,
    F: Send

impl<DI, F> Sync for TerminalView<DI, F> where
    DI: Sync,
    F: Sync

impl<DI, F> Unpin for TerminalView<DI, F> where
    DI: Unpin,
    F: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.