pub struct Identifier(pub Ident);Expand description
Tuple Fields§
§0: IdentTrait Implementations§
Source§impl Clone for Identifier
impl Clone for Identifier
Source§fn clone(&self) -> Identifier
fn clone(&self) -> Identifier
Returns a duplicate 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 moreSource§impl IntoTokens for Identifier
impl IntoTokens for Identifier
Source§fn into_tokens(self, root: &TokenStream, tokens: &mut impl Extend<TokenTree>)
fn into_tokens(self, root: &TokenStream, tokens: &mut impl Extend<TokenTree>)
Source§fn collect_tokens<T>(self, root: &TokenStream) -> T
fn collect_tokens<T>(self, root: &TokenStream) -> T
Convenience methods to emit
self’s tokens into a new T.Auto Trait Implementations§
impl Freeze for Identifier
impl RefUnwindSafe for Identifier
impl !Send for Identifier
impl !Sync for Identifier
impl Unpin for Identifier
impl UnwindSafe for Identifier
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