Struct macro_tools::exposed::proc_macro2::extra::DelimSpan
source · pub struct DelimSpan { /* private fields */ }
Expand description
An object that holds a Group
’s span_open()
and span_close()
together
in a more compact representation than holding those 2 spans individually.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DelimSpan
impl RefUnwindSafe for DelimSpan
impl !Send for DelimSpan
impl !Sync for DelimSpan
impl Unpin for DelimSpan
impl UnwindSafe for DelimSpan
Blanket Implementations§
source§impl<S> AssignWithType for S
impl<S> AssignWithType for S
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
source§impl<T> Spanned for Twhere
T: Spanned + ?Sized,
impl<T> Spanned for Twhere
T: Spanned + ?Sized,
source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty.