Struct rustc_ap_rustc_span::hygiene::ExpnId [−][src]
pub struct ExpnId(_);
Expand description
A unique ID associated with a macro invocation and expansion.
Implementations
The ID of the theoretical expansion that generates freshly parsed, unexpanded AST.
expn_id.outer_expn_is_descendant_of(ctxt)
is equivalent to but faster than
expn_id.is_descendant_of(ctxt.outer_expn())
.
Returns span for the macro which originally caused this expansion to happen.
Stops backtracing at include! boundary.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ExpnId
impl UnwindSafe for ExpnId
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V