Hinter

Trait Hinter 

Source
pub trait Hinter {
    // Required method
    fn hint(&self, buffer: &mut StyledBuffer) -> Option<StyledBuffer>;
}
Expand description

The Hinter trait, Implementers of this trait will take the current styled buffer and then Return a new StyledBuffer for the hint if exists or None if not hint

Required Methods§

Source

fn hint(&self, buffer: &mut StyledBuffer) -> Option<StyledBuffer>

The action that will handle the current styled buffer as a line

Implementors§