Struct 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
§impl<T> Cast for T
impl<T> Cast for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more