[−][src]Struct broot::help::HelpState
an application state dedicated to help
Fields
scroll: i32
area: Area
Implementations
impl HelpState
[src]
pub fn new(_screen: &Screen, _con: &AppContext) -> HelpState
[src]
Trait Implementations
impl AppState for HelpState
[src]
fn has_pending_task(&self) -> bool
[src]
fn can_execute(&self, _verb_index: usize, _con: &AppContext) -> bool
[src]
fn apply(
&mut self,
cmd: &mut Command,
screen: &mut Screen,
con: &AppContext
) -> Result<AppStateCmdResult, ProgramError>
[src]
&mut self,
cmd: &mut Command,
screen: &mut Screen,
con: &AppContext
) -> Result<AppStateCmdResult, ProgramError>
fn refresh(&mut self, _screen: &Screen, _con: &AppContext) -> Command
[src]
fn do_pending_task(&mut self, _screen: &mut Screen, _dam: &mut Dam)
[src]
fn display(
&mut self,
w: &mut dyn Write,
screen: &Screen,
con: &AppContext
) -> Result<(), ProgramError>
[src]
&mut self,
w: &mut dyn Write,
screen: &Screen,
con: &AppContext
) -> Result<(), ProgramError>
fn write_status(
&self,
w: &mut dyn Write,
cmd: &Command,
screen: &Screen,
con: &AppContext
) -> Result<(), ProgramError>
[src]
&self,
w: &mut dyn Write,
cmd: &Command,
screen: &Screen,
con: &AppContext
) -> Result<(), ProgramError>
fn write_flags(
&self,
w: &mut dyn Write,
screen: &mut Screen,
_con: &AppContext
) -> Result<(), ProgramError>
[src]
&self,
w: &mut dyn Write,
screen: &mut Screen,
_con: &AppContext
) -> Result<(), ProgramError>
there's no meaningful flags here
impl VerbExecutor for HelpState
[src]
fn execute_verb(
&mut self,
verb: &Verb,
invocation: &VerbInvocation,
screen: &mut Screen,
con: &AppContext
) -> Result<AppStateCmdResult, ProgramError>
[src]
&mut self,
verb: &Verb,
invocation: &VerbInvocation,
screen: &mut Screen,
con: &AppContext
) -> Result<AppStateCmdResult, ProgramError>
Auto Trait Implementations
impl RefUnwindSafe for HelpState
impl Send for HelpState
impl Sync for HelpState
impl Unpin for HelpState
impl UnwindSafe for HelpState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,