Trait conciliator::core::GetLine

source ·
pub trait GetLine<'l> {
    type Line: 'l + Deref<Target = Buffer> + DerefMut;

    // Required method
    fn get_line(&'l self) -> Self::Line;
}
Expand description

Helper trait for implementing the Conciliator

This trait establishes the borrow relation and crucially requires the Line type to implement Paint

Required Associated Types§

source

type Line: 'l + Deref<Target = Buffer> + DerefMut

Type of the line buffer (does not have to be the struct Line)

Required Methods§

source

fn get_line(&'l self) -> Self::Line

Obtain a new line buffer

Implementors§

source§

impl<'l> GetLine<'l> for Claw

§

type Line = Line<'l>

source§

impl<'l> GetLine<'l> for Stream

§

type Line = Line<'l>

source§

impl<'l, 'c> GetLine<'l> for Spinner<'c>

§

type Line = Line<'l>