pub struct ImportedTokens {
pub tokens_var_ident: Ident,
pub item: Item,
/* private fields */
}Expand description
Used to parse the args for the import_tokens_inner_internal function.
You shouldn’t need to use this directly.
Fields§
§tokens_var_ident: IdentRepresents the Ident that was used to refer to the tokens in the original
ImportTokensArgs.
item: ItemContains the Item that has been imported.
Trait Implementations§
Source§impl Parse for ImportedTokens
impl Parse for ImportedTokens
fn parse(__parse_input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for ImportedTokens
impl RefUnwindSafe for ImportedTokens
impl !Send for ImportedTokens
impl !Sync for ImportedTokens
impl Unpin for ImportedTokens
impl UnwindSafe for ImportedTokens
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