Struct ra_ap_ide::CompletionItem [−][src]
pub struct CompletionItem { /* fields omitted */ }
Expand description
CompletionItem
describes a single completion variant in the editor pop-up.
It is basically a POD with various properties. To construct a
CompletionItem
, use new
method and the Builder
struct.
Implementations
Whether text_edit
is a snippet (contains $0
markers).
A doc-comment
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CompletionItem
impl !Send for CompletionItem
impl !Sync for CompletionItem
impl Unpin for CompletionItem
impl !UnwindSafe for CompletionItem
Blanket Implementations
Mutably borrows from an owned value. Read more
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
Cast a value to type U
using CastTo
.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
impl<T> Any for T where
T: Any,