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§
Sourcefn prompt(&self) -> StyledBuffer
fn prompt(&self) -> StyledBuffer
The action that will return prompt with styles as StyledBuffer