Struct ra_ap_ide::SingleResolve
source · pub struct SingleResolve {
pub assist_id: String,
pub assist_kind: AssistKind,
}
Expand description
Hold the AssistId
data of a certain assist to resolve.
The original id object cannot be used due to a 'static
lifetime
and the requirement to construct this struct dynamically during the resolve handling.
Fields§
§assist_id: String
The id of the assist.
assist_kind: AssistKind
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SingleResolve
impl RefUnwindSafe for SingleResolve
impl Send for SingleResolve
impl Sync for SingleResolve
impl Unpin for SingleResolve
impl UnwindSafe for SingleResolve
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
source§impl<T> Cast for T
impl<T> Cast for T
source§fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
Cast a value to type
U
using CastTo
.