pub(crate) struct DeferredTokenStream {
stream: TokenStream,
extra: Vec<TokenTree>,
}
Fields§
§stream: TokenStream
§extra: Vec<TokenTree>
Implementations§
source§impl DeferredTokenStream
impl DeferredTokenStream
fn new(stream: TokenStream) -> Self
fn is_empty(&self) -> bool
fn evaluate_now(&mut self)
fn into_token_stream(self) -> TokenStream
Trait Implementations§
source§impl Clone for DeferredTokenStream
impl Clone for DeferredTokenStream
source§fn clone(&self) -> DeferredTokenStream
fn clone(&self) -> DeferredTokenStream
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for DeferredTokenStream
impl RefUnwindSafe for DeferredTokenStream
impl !Send for DeferredTokenStream
impl !Sync for DeferredTokenStream
impl Unpin for DeferredTokenStream
impl UnwindSafe for DeferredTokenStream
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)