pub struct CompItem {
pub label: String,
pub detail: String,
pub doc: String,
pub kind: u8,
pub insert: String,
}Expand description
a completion item (see the module header)
Fields§
§label: String§detail: String§doc: String§kind: u8§insert: Stringthe text it inserts (“”: the label)
Implementations§
Trait Implementations§
impl StructuralPartialEq for CompItem
Auto Trait Implementations§
impl Forget for CompItem
impl Freeze for CompItem
impl RefUnwindSafe for CompItem
impl Send for CompItem
impl Sync for CompItem
impl Unpin for CompItem
impl UnsafeUnpin for CompItem
impl UnwindSafe for CompItem
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