pub struct Group { /* private fields */ }Implementations§
Source§impl Group
impl Group
pub fn new(delimiter: Delimiter, stream: TokenStream) -> Self
pub fn delimiter(&self) -> &Delimiter
pub fn delim_kind(&self) -> DelimiterKind
pub fn stream(&self) -> &TokenStream
pub fn into_stream(self) -> TokenStream
Trait Implementations§
impl Eq for Group
Source§impl Parse for Group
impl Parse for Group
fn parse(input: &mut ParseStream) -> Result<Self, TokenParseError>
impl StructuralPartialEq for Group
Source§impl ToCells for Group
impl ToCells for Group
Source§fn to_cells(&self, output: &mut CellStream)
fn to_cells(&self, output: &mut CellStream)
Appends this value’s global cells to
output.Source§fn to_cell_stream(&self, source_id: SourceId) -> CellStream
fn to_cell_stream(&self, source_id: SourceId) -> CellStream
Emits this value into a fresh cell stream with the requested identity.
Auto Trait Implementations§
impl Freeze for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnsafeUnpin 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