pub struct Paren {
pub span: Span,
}
Expand description
(...)
Fields
span: Span
Implementations
sourceimpl Paren
impl Paren
pub fn surround<F>(&self, tokens: &mut TokenStream, f: F)where
F: FnOnce(&mut TokenStream),
Trait Implementations
sourceimpl PartialEq<Paren> for Paren
Available on crate feature extra-traits
only.
impl PartialEq<Paren> for Paren
Available on crate feature
extra-traits
only.impl Copy for Paren
Available on crate feature
clone-impls
only.impl Eq for Paren
Available on crate feature
extra-traits
only.impl Token for Paren
Auto Trait Implementations
impl RefUnwindSafe for Paren
impl !Send for Paren
impl !Sync for Paren
impl Unpin for Paren
impl UnwindSafe for Paren
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more