Struct pomprt::Completion
source · pub struct Completion(pub Range<usize>, pub Vec<String>);
Expand description
Completion result returned by Editor::complete
Tuple Fields§
§0: Range<usize>
Replacement range
1: Vec<String>
Candidates to be replaced with
Auto Trait Implementations§
impl RefUnwindSafe for Completion
impl Send for Completion
impl Sync for Completion
impl Unpin for Completion
impl UnwindSafe for Completion
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