struct GenerateTokens {
exposed: TokenStream,
scoped: TokenStream,
}
Fields§
§exposed: TokenStream
§scoped: TokenStream
Implementations§
source§impl GenerateTokens
impl GenerateTokens
fn extend(&mut self, expose: bool, tokens: TokenStream)
fn into_tokens(self, cx: &Context<'_>) -> TokenStream
Trait Implementations§
source§impl Default for GenerateTokens
impl Default for GenerateTokens
source§fn default() -> GenerateTokens
fn default() -> GenerateTokens
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GenerateTokens
impl RefUnwindSafe for GenerateTokens
impl !Send for GenerateTokens
impl !Sync for GenerateTokens
impl Unpin for GenerateTokens
impl UnwindSafe for GenerateTokens
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