pub struct Group {
pub span: Span,
}
Expand description
None-delimited group
Fields§
§span: Span
Implementations§
source§impl Group
impl Group
pub fn surround<F>(&self, tokens: &mut TokenStream, f: F)where F: FnOnce(&mut TokenStream),
Trait Implementations§
impl Copy for Group
impl Token for Group
Auto Trait Implementations§
impl RefUnwindSafe for Group
impl !Send for Group
impl !Sync for Group
impl Unpin for Group
impl UnwindSafe for Group
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