pub struct StringLiteral(pub Literal);Expand description
STRING_LITERAL:
"…"
Tuple Fields§
§0: LiteralTrait Implementations§
Source§impl Clone for StringLiteral
impl Clone for StringLiteral
Source§fn clone(&self) -> StringLiteral
fn clone(&self) -> StringLiteral
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 StringLiteral
impl IntoTokens for StringLiteral
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 StringLiteral
impl RefUnwindSafe for StringLiteral
impl !Send for StringLiteral
impl !Sync for StringLiteral
impl Unpin for StringLiteral
impl UnwindSafe for StringLiteral
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