pub struct MacroSignature {
pub name: String,
pub param_count: usize,
}Expand description
A macro signature: name + param count.
Fields§
§name: StringMacro name
param_count: usizeNumber of parameters
Implementations§
Trait Implementations§
Source§impl Clone for MacroSignature
impl Clone for MacroSignature
Source§fn clone(&self) -> MacroSignature
fn clone(&self) -> MacroSignature
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 MacroSignature
impl RefUnwindSafe for MacroSignature
impl Send for MacroSignature
impl Sync for MacroSignature
impl Unpin for MacroSignature
impl UnsafeUnpin for MacroSignature
impl UnwindSafe for MacroSignature
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