pub struct RawStringLiteral(pub Literal);Expand description
RAW_STRING_LITERAL:
r#n ≥ 0"…"#n
Tuple Fields§
§0: LiteralTrait Implementations§
Source§impl Clone for RawStringLiteral
impl Clone for RawStringLiteral
Source§fn clone(&self) -> RawStringLiteral
fn clone(&self) -> RawStringLiteral
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 RawStringLiteral
impl IntoTokens for RawStringLiteral
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 RawStringLiteral
impl PeekFrom for RawStringLiteral
Auto Trait Implementations§
impl Freeze for RawStringLiteral
impl RefUnwindSafe for RawStringLiteral
impl !Send for RawStringLiteral
impl !Sync for RawStringLiteral
impl Unpin for RawStringLiteral
impl UnwindSafe for RawStringLiteral
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