pub enum AnyStringLiteral {
Plain(StringLiteral),
Raw(RawStringLiteral),
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for AnyStringLiteral
impl Clone for AnyStringLiteral
Source§fn clone(&self) -> AnyStringLiteral
fn clone(&self) -> AnyStringLiteral
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 AnyStringLiteral
Available nowhere.
impl IntoTokens for AnyStringLiteral
Available nowhere.
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.Source§impl PeekFrom for AnyStringLiteral
Available nowhere.
impl PeekFrom for AnyStringLiteral
Available nowhere.
Auto Trait Implementations§
impl Freeze for AnyStringLiteral
impl RefUnwindSafe for AnyStringLiteral
impl !Send for AnyStringLiteral
impl !Sync for AnyStringLiteral
impl Unpin for AnyStringLiteral
impl UnwindSafe for AnyStringLiteral
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