pub struct Completion {
pub line: Option<String>,
pub choices: Vec<String>,
}Expand description
what Tab does
Fields§
§line: Option<String>the line with the last word completed (None: nothing to complete, the console rings the bell)
choices: Vec<String>what the last word may become
Trait Implementations§
Source§impl Clone for Completion
impl Clone for Completion
Source§impl Debug for Completion
impl Debug for Completion
Source§impl Default for Completion
impl Default for Completion
impl Eq for Completion
Source§impl PartialEq for Completion
impl PartialEq for Completion
impl StructuralPartialEq for Completion
Auto Trait Implementations§
impl Forget for Completion
impl Freeze for Completion
impl Move for Completion
impl RefUnwindSafe for Completion
impl Send for Completionwhere
RawVecInner: Send,
impl Sync for Completionwhere
RawVecInner: Sync,
impl Unpin for Completion
impl UnsafeUnpin for Completionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Completionwhere
RawVecInner: UnwindSafe,
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