pub struct DebugTokens<'a> { /* private fields */ }Expand description
Wraps a reference to a proc_macro2::TokenStream and provides formatting
methods for debug output.
Created by DebugExt::debug(). Use .raw() for unformatted
output or .pretty() for prettyplease-formatted output.
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DebugTokens<'a>
impl<'a> RefUnwindSafe for DebugTokens<'a>
impl<'a> !Send for DebugTokens<'a>
impl<'a> !Sync for DebugTokens<'a>
impl<'a> Unpin for DebugTokens<'a>
impl<'a> UnsafeUnpin for DebugTokens<'a>
impl<'a> UnwindSafe for DebugTokens<'a>
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