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 Palette
s.
Implementations should not write newlines.
For multi-line segments, implement the Print
trait instead.