Struct macro_magic_core::ImportedTokens
source · 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: Ident
Represents the Ident
that was used to refer to the tokens
in the original
ImportTokensArgs
.
item: Item
Contains 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