Trait surf_n_term::render::TerminalWritable[][src]

pub trait TerminalWritable {
    fn fmt(&self, writer: &mut TerminalWriter<'_>) -> Result<()>;

    fn height_hint(&self, _width: usize) -> Option<usize> { ... }
}

Required methods

fn fmt(&self, writer: &mut TerminalWriter<'_>) -> Result<()>[src]

Loading content...

Provided methods

fn height_hint(&self, _width: usize) -> Option<usize>[src]

Estimate height occupied given with of the available surface

Loading content...

Implementations on Foreign Types

impl<'a, T: ?Sized> TerminalWritable for &'a T where
    T: TerminalWritable
[src]

fn fmt(&self, writer: &mut TerminalWriter<'_>) -> Result<()>[src]

fn height_hint(&self, width: usize) -> Option<usize>[src]

Loading content...

Implementors

Loading content...