pub struct Cmdline {
pub mode: Option<Mode>,
}Fields§
§mode: Option<Mode>Implementations§
Source§impl Cmdline
impl Cmdline
pub fn show(&mut self, event: CmdlineShow)
pub fn hide(&mut self)
pub fn hide_block(&mut self)
pub fn show_block(&mut self, lines: Vec<Content>)
pub fn append_block(&mut self, line: Content)
pub fn set_cursor_pos(&mut self, pos: u32)
pub fn special(&mut self, event: CmdlineSpecialChar)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cmdline
impl RefUnwindSafe for Cmdline
impl Send for Cmdline
impl Sync for Cmdline
impl Unpin for Cmdline
impl UnwindSafe for Cmdline
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