Enum ra_ap_ide::AssistResolveStrategy [−][src]
pub enum AssistResolveStrategy { None, All, Single(SingleResolve), }
Expand description
A way to control how many asssist to resolve during the assist resolution. When an assist is resolved, its edits are calculated that might be costly to always do by default.
Variants
No assists should be resolved.
All assists should be resolved.
Single(SingleResolve)
Only a certain assist should be resolved.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AssistResolveStrategy
impl Send for AssistResolveStrategy
impl Sync for AssistResolveStrategy
impl Unpin for AssistResolveStrategy
impl UnwindSafe for AssistResolveStrategy
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,