pub struct LitStrSingleQuote { /* private fields */ }
Expand description
A string literal delimited by single quotes.
See also SingleQuotes
.
Implementations§
Trait Implementations§
Source§impl Clone for LitStrSingleQuote
impl Clone for LitStrSingleQuote
Source§fn clone(&self) -> LitStrSingleQuote
fn clone(&self) -> LitStrSingleQuote
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 Debug for LitStrSingleQuote
impl Debug for LitStrSingleQuote
Source§impl Hash for LitStrSingleQuote
impl Hash for LitStrSingleQuote
Source§impl Ord for LitStrSingleQuote
impl Ord for LitStrSingleQuote
Source§impl Parse for LitStrSingleQuote
impl Parse for LitStrSingleQuote
Source§impl PartialEq for LitStrSingleQuote
impl PartialEq for LitStrSingleQuote
Source§impl PartialOrd for LitStrSingleQuote
impl PartialOrd for LitStrSingleQuote
Source§impl ToTokens for LitStrSingleQuote
impl ToTokens for LitStrSingleQuote
Source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Append
self
to the given TokenStream
.Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Convert
self
directly into a TokenStream
.Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
Convert
self
directly into a TokenStream
.Source§impl ToTokens for LitStrSingleQuote
Available on crate feature proc-macro2
only.
impl ToTokens for LitStrSingleQuote
Available on crate feature
proc-macro2
only.Source§fn to_tokens(&self, tokens: &mut TokenStream2)
fn to_tokens(&self, tokens: &mut TokenStream2)
Source§fn to_token_stream(&self) -> TokenStream2
fn to_token_stream(&self) -> TokenStream2
Source§fn into_token_stream(self) -> TokenStream2
fn into_token_stream(self) -> TokenStream2
Source§impl Token for LitStrSingleQuote
impl Token for LitStrSingleQuote
impl Eq for LitStrSingleQuote
Auto Trait Implementations§
impl Freeze for LitStrSingleQuote
impl RefUnwindSafe for LitStrSingleQuote
impl Send for LitStrSingleQuote
impl Sync for LitStrSingleQuote
impl Unpin for LitStrSingleQuote
impl UnwindSafe for LitStrSingleQuote
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