Struct ra_ap_tt::TokenId [−][src]
pub struct TokenId(pub u32);
Expand description
Represents identity of the token.
For hygiene purposes, we need to track which expanded tokens originated from which source tokens. We do it by assigning an distinct identity to each source token and making sure that identities are preserved during macro expansion.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TokenId
impl UnwindSafe for TokenId
Blanket Implementations
Mutably borrows from an owned value. Read more