Struct rustyline::completion::Pair
source · pub struct Pair {
pub display: String,
pub replacement: String,
}
Expand description
Completion candidate pair
Fields§
§display: String
Text to display when listing alternatives.
replacement: String
Text to insert in line.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pair
impl RefUnwindSafe for Pair
impl Send for Pair
impl Sync for Pair
impl Unpin for Pair
impl UnwindSafe for Pair
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