pub enum RawStringElement {
EscapeSequence(EscapeSequence),
RawStringContent(RawStringContent),
}Expand description
The typed RawStringElement syntax category.
Variants§
EscapeSequence(EscapeSequence)
The EscapeSequence syntax alternative.
RawStringContent(RawStringContent)
The RawStringContent syntax alternative.
Trait Implementations§
Source§impl Debug for RawStringElement
impl Debug for RawStringElement
Source§impl From<EscapeSequence> for RawStringElement
impl From<EscapeSequence> for RawStringElement
Source§fn from(value: EscapeSequence) -> Self
fn from(value: EscapeSequence) -> Self
Converts to this type from the input type.
Source§impl From<RawStringContent> for RawStringElement
impl From<RawStringContent> for RawStringElement
Source§fn from(value: RawStringContent) -> Self
fn from(value: RawStringContent) -> Self
Converts to this type from the input type.
Source§impl Lex for RawStringElement
impl Lex for RawStringElement
Source§fn to_tokens(&self, output: &mut TokenStream)
fn to_tokens(&self, output: &mut TokenStream)
Appends this value’s token trees to
output.Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Emits this value into a fresh token stream.
Source§impl<N> Migrate<N> for RawStringElementwhere
N: ExternalCstNode,
impl<N> Migrate<N> for RawStringElementwhere
N: ExternalCstNode,
Source§impl PrettyTree for RawStringElement
impl PrettyTree for RawStringElement
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Auto Trait Implementations§
impl Freeze for RawStringElement
impl RefUnwindSafe for RawStringElement
impl Send for RawStringElement
impl Sync for RawStringElement
impl Unpin for RawStringElement
impl UnsafeUnpin for RawStringElement
impl UnwindSafe for RawStringElement
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