Struct duat::widgets::CommandLine
source · pub struct CommandLine { /* private fields */ }Expand description
An [ActionableWidget<U>] whose primary purpose is to execute
[Command]s.
While this is the primary purpose of the CommandLine<U>, in
the future, it will be able to change its functionality to, for
example, search for pieces of text on a
[FileWidget<U>][crate::widgets::FileWidget] in real time.
Implementations§
source§impl CommandLine
impl CommandLine
pub fn cfg() -> CommandLineCfg<Commander>
Trait Implementations§
source§impl ActiveWidget<Ui> for CommandLine
impl ActiveWidget<Ui> for CommandLine
source§impl PassiveWidget<Ui> for CommandLine
impl PassiveWidget<Ui> for CommandLine
fn build( globals: Globals<Ui>, on_file: bool ) -> (Widget<Ui>, impl Fn() -> bool, PushSpecs)
fn print(&mut self, area: &<Ui as Ui>::Area)
fn once(globals: Globals<Ui>)
fn print_cfg(&self) -> &PrintCfg
fn name() -> &'static strwhere Self: Sized,
impl Send for CommandLine
Auto Trait Implementations§
impl !RefUnwindSafe for CommandLine
impl Sync for CommandLine
impl Unpin for CommandLine
impl !UnwindSafe for CommandLine
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more