pub struct RawStringLiteral<Content>(pub Content);Expand description
A raw string literal expression, i.e. r#“Content”#. Example:
let string_lit = RawStringLiteral(Str("hello_world"));
assert_eq!("r#\"hello_world\"#", InMemoryOutput::print_output(EmptyContext, &string_lit));Tuple Fields§
§0: ContentTrait Implementations§
Source§impl<Content: Clone> Clone for RawStringLiteral<Content>
 
impl<Content: Clone> Clone for RawStringLiteral<Content>
Source§fn clone(&self) -> RawStringLiteral<Content>
 
fn clone(&self) -> RawStringLiteral<Content>
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<Content: Debug> Debug for RawStringLiteral<Content>
 
impl<Content: Debug> Debug for RawStringLiteral<Content>
Auto Trait Implementations§
impl<Content> Freeze for RawStringLiteral<Content>where
    Content: Freeze,
impl<Content> RefUnwindSafe for RawStringLiteral<Content>where
    Content: RefUnwindSafe,
impl<Content> Send for RawStringLiteral<Content>where
    Content: Send,
impl<Content> Sync for RawStringLiteral<Content>where
    Content: Sync,
impl<Content> Unpin for RawStringLiteral<Content>where
    Content: Unpin,
impl<Content> UnwindSafe for RawStringLiteral<Content>where
    Content: UnwindSafe,
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