pub struct CmpItems<'a> {
pub label: &'a str,
pub label_details: &'a str,
pub kind: CompletionItemKind,
pub documentation: &'a str,
pub insert_text: String,
}Fields§
§label: &'a str§label_details: &'a str§kind: CompletionItemKind§documentation: &'a str§insert_text: StringImplementations§
Source§impl CmpItems<'_>
impl CmpItems<'_>
pub fn provide_cmp_items(items: CmpItems<'_>) -> Vec<CompletionItem>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for CmpItems<'a>
impl<'a> RefUnwindSafe for CmpItems<'a>
impl<'a> Send for CmpItems<'a>
impl<'a> Sync for CmpItems<'a>
impl<'a> Unpin for CmpItems<'a>
impl<'a> UnwindSafe for CmpItems<'a>
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