pub struct RustcExpansion {
pub span: RustcSpan,
pub macro_decl_name: String,
}Expand description
Macro expansion context (simplified)
Fields§
§span: RustcSpanSpan where the macro was expanded
macro_decl_name: StringName of the macro
Trait Implementations§
Source§impl Clone for RustcExpansion
impl Clone for RustcExpansion
Source§fn clone(&self) -> RustcExpansion
fn clone(&self) -> RustcExpansion
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 moreSource§impl Debug for RustcExpansion
impl Debug for RustcExpansion
Source§impl<'de> Deserialize<'de> for RustcExpansion
impl<'de> Deserialize<'de> for RustcExpansion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RustcExpansion
impl PartialEq for RustcExpansion
impl Eq for RustcExpansion
impl StructuralPartialEq for RustcExpansion
Auto Trait Implementations§
impl Freeze for RustcExpansion
impl RefUnwindSafe for RustcExpansion
impl Send for RustcExpansion
impl Sync for RustcExpansion
impl Unpin for RustcExpansion
impl UnwindSafe for RustcExpansion
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