Struct ra_ap_ide::UpmappingResult
source · pub struct UpmappingResult<T> {
pub call_site: T,
pub def_site: Option<T>,
}
Fields§
§call_site: T
The macro call site.
def_site: Option<T>
The macro definition site, if relevant.
Implementations§
source§impl<T> UpmappingResult<T>
impl<T> UpmappingResult<T>
pub fn call_site(self) -> T
pub fn collect<FI: FromIterator<T>>(self) -> FI
Trait Implementations§
source§impl<T: Debug> Debug for UpmappingResult<T>
impl<T: Debug> Debug for UpmappingResult<T>
source§impl<T> IntoIterator for UpmappingResult<T>
impl<T> IntoIterator for UpmappingResult<T>
Auto Trait Implementations§
impl<T> Freeze for UpmappingResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for UpmappingResult<T>where
T: RefUnwindSafe,
impl<T> Send for UpmappingResult<T>where
T: Send,
impl<T> Sync for UpmappingResult<T>where
T: Sync,
impl<T> Unpin for UpmappingResult<T>where
T: Unpin,
impl<T> UnwindSafe for UpmappingResult<T>where
T: UnwindSafe,
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
.