pub struct LifetimeName(pub Ident);Expand description
Helper type for lifetime name formatting
Tuple Fields§
§0: IdentThe identifier for the lifetime
Trait Implementations§
Source§impl Clone for LifetimeName
impl Clone for LifetimeName
Source§fn clone(&self) -> LifetimeName
fn clone(&self) -> LifetimeName
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 ToTokens for LifetimeName
impl ToTokens for LifetimeName
Source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
Auto Trait Implementations§
impl Freeze for LifetimeName
impl RefUnwindSafe for LifetimeName
impl !Send for LifetimeName
impl !Sync for LifetimeName
impl Unpin for LifetimeName
impl UnsafeUnpin for LifetimeName
impl UnwindSafe for LifetimeName
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