Prompt

Trait Prompt 

Source
pub trait Prompt {
    // Required method
    fn prompt(&self) -> StyledBuffer;
}
Expand description

The Prompt trait, Implementers of this trait will return a prompt as styled buffer

Required Methods§

Source

fn prompt(&self) -> StyledBuffer

The action that will return prompt with styles as StyledBuffer

Implementors§