#[repr(transparent)]pub struct TokelStream(pub Vec<Element>);Expand description
A tokel-specific stream of source-level elements.
See the Element item for further information.
Tuple Fields§
§0: Vec<Element>Trait Implementations§
Source§impl Clone for TokelStream
impl Clone for TokelStream
Source§fn clone(&self) -> TokelStream
fn clone(&self) -> TokelStream
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TokelStream
impl Debug for TokelStream
Source§impl Expand for TokelStream
impl Expand for TokelStream
Source§fn expand_with(
self,
session: &mut Session,
(): Self::Context,
) -> Result<TokenStream, Error>
fn expand_with( self, session: &mut Session, (): Self::Context, ) -> Result<TokenStream, Error>
Expands the AST node into a fully resolved token stream using explicit context. Read more
Source§impl Parse for TokelStream
impl Parse for TokelStream
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for TokelStream
impl RefUnwindSafe for TokelStream
impl !Send for TokelStream
impl !Sync for TokelStream
impl Unpin for TokelStream
impl UnsafeUnpin for TokelStream
impl UnwindSafe for TokelStream
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