pub struct ExpansionStep {
pub macro_name: String,
pub span: Span,
}Expand description
One step of a macro expansion chain — “in derive(Json) expanded at orders.beck:12” (§4.5).
Fields§
§macro_name: String§span: SpanTrait Implementations§
Source§impl Clone for ExpansionStep
impl Clone for ExpansionStep
Source§fn clone(&self) -> ExpansionStep
fn clone(&self) -> ExpansionStep
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExpansionStep
impl RefUnwindSafe for ExpansionStep
impl Send for ExpansionStep
impl Sync for ExpansionStep
impl Unpin for ExpansionStep
impl UnwindSafe for ExpansionStep
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