Trait conciliator::Inline

source ·
pub trait Inline {
    // Required method
    fn inline(&self, buffer: &mut Buffer);
}
Expand description

Display with colors

Write self into the buffer with colors. Please use the named colors provided by the color Palette. While it is also possible to use all terminal colors directly, this should only be done as an exception. This way, it is possible to customize the appearance by switching color Palettes.

Implementations should not write newlines. For multi-line segments, implement the Print trait instead.

Required Methods§

source

fn inline(&self, buffer: &mut Buffer)

Write self into the buffer with colors

Implementations on Foreign Types§

source§

impl<T: Inline + ?Sized> Inline for &T

Blanket impl for convenience

source§

fn inline(&self, buffer: &mut Buffer)

Implementors§

source§

impl<'s> Inline for Tag<'s>

source§

impl<T: Display> Inline for Wrap<T>

source§

impl<T: Display> Inline for WrapBold<T>