Enum ra_ap_ide_assists::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
impl AssistResolveStrategy
[src]
impl AssistResolveStrategy
[src]pub fn should_resolve(&self, id: &AssistId) -> bool
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Cast for T
impl<T> Cast for T
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
.
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Any for T where
T: Any,
T: Any,