pub struct MacroUsage {
pub name: String,
pub location: Span,
pub macro_type: MacroType,
}
Expand description
Represents macro usage
Fields§
§name: String
§location: Span
§macro_type: MacroType
Trait Implementations§
Source§impl Clone for MacroUsage
impl Clone for MacroUsage
Source§fn clone(&self) -> MacroUsage
fn clone(&self) -> MacroUsage
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for MacroUsage
impl RefUnwindSafe for MacroUsage
impl Send for MacroUsage
impl Sync for MacroUsage
impl Unpin for MacroUsage
impl UnwindSafe for MacroUsage
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