pub enum RawStringElement {
EscapeSequence(EscapeSequence),
RawStringContent(RawStringContent),
}Variants§
EscapeSequence(EscapeSequence)
RawStringContent(RawStringContent)
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 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.
Source§impl<N> Reconstruct<N> for RawStringElementwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for RawStringElementwhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
Source§impl ToTokens for RawStringElement
impl ToTokens for RawStringElement
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