pub struct CommandAlias {
pub from: String,
pub to: String,
}Expand description
A REPL command alias: maps a short name to a full command string.
Fields§
§from: String§to: StringImplementations§
Trait Implementations§
Source§impl Clone for CommandAlias
impl Clone for CommandAlias
Source§fn clone(&self) -> CommandAlias
fn clone(&self) -> CommandAlias
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 moreAuto Trait Implementations§
impl Freeze for CommandAlias
impl RefUnwindSafe for CommandAlias
impl Send for CommandAlias
impl Sync for CommandAlias
impl Unpin for CommandAlias
impl UnsafeUnpin for CommandAlias
impl UnwindSafe for CommandAlias
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