pub struct Step {
pub macro_name: Symbol,
pub at: Span,
pub outer: TraceId,
}Expand description
One macro traversed on the way from the user’s text to a token.
Fields§
§macro_name: SymbolThe macro that was expanded.
at: SpanWhere its invocation was written. Inside another macro’s body for every step but the outermost, and in a file the user wrote for that one.
outer: TraceIdThe step this one sits inside, or TraceId::NONE if this is the outermost.
Trait Implementations§
impl Copy for Step
impl Eq for Step
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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