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