Struct ra_ap_ide::CompletionItem
source · [−]pub struct CompletionItem { /* private fields */ }
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
.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more