Struct multi_buffer2::Completion
source · pub struct Completion {
pub old_range: Range<Anchor>,
pub new_text: String,
pub label: CodeLabel,
pub server_id: LanguageServerId,
pub lsp_completion: CompletionItem,
}
Fields§
§old_range: Range<Anchor>
§new_text: String
§label: CodeLabel
§server_id: LanguageServerId
§lsp_completion: CompletionItem
Implementations§
source§impl Completion
impl Completion
Trait Implementations§
source§impl Clone for Completion
impl Clone for Completion
source§fn clone(&self) -> Completion
fn clone(&self) -> Completion
Returns a copy 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 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