pub struct MacroParam {
pub name: String,
pub kind: MacroParamKind,
pub span: Span,
}Fields§
§name: String§kind: MacroParamKind§span: SpanTrait Implementations§
Source§impl Clone for MacroParam
impl Clone for MacroParam
Source§fn clone(&self) -> MacroParam
fn clone(&self) -> MacroParam
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 MacroParam
impl RefUnwindSafe for MacroParam
impl Send for MacroParam
impl Sync for MacroParam
impl Unpin for MacroParam
impl UnwindSafe for MacroParam
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