pub struct CommandHistory { /* private fields */ }Expand description
Stores the last N typed commands for up/down arrow recall.
Implementations§
Trait Implementations§
Source§impl Clone for CommandHistory
impl Clone for CommandHistory
Source§fn clone(&self) -> CommandHistory
fn clone(&self) -> CommandHistory
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommandHistory
impl Debug for CommandHistory
Source§impl Default for CommandHistory
impl Default for CommandHistory
Source§fn default() -> CommandHistory
fn default() -> CommandHistory
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CommandHistory
impl RefUnwindSafe for CommandHistory
impl Send for CommandHistory
impl Sync for CommandHistory
impl Unpin for CommandHistory
impl UnsafeUnpin for CommandHistory
impl UnwindSafe for CommandHistory
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