pub struct RawStringLiteral {
pub elements: Vec<RawStringElement>,
}Fields§
§elements: Vec<RawStringElement>Implementations§
Source§impl RawStringLiteral
impl RawStringLiteral
pub fn new(elements: Vec<RawStringElement>) -> Self
Trait Implementations§
Source§impl Debug for RawStringLiteral
impl Debug for RawStringLiteral
Source§impl From<RawStringLiteral> for Component
impl From<RawStringLiteral> for Component
Source§fn from(value: RawStringLiteral) -> Self
fn from(value: RawStringLiteral) -> Self
Converts to this type from the input type.
Source§impl From<RawStringLiteral> for Expr
impl From<RawStringLiteral> for Expr
Source§fn from(value: RawStringLiteral) -> Self
fn from(value: RawStringLiteral) -> Self
Converts to this type from the input type.
Source§impl From<RawStringLiteral> for SequenceElement
impl From<RawStringLiteral> for SequenceElement
Source§fn from(value: RawStringLiteral) -> Self
fn from(value: RawStringLiteral) -> Self
Converts to this type from the input type.
Source§impl From<RawStringLiteral> for SyntaxNode
impl From<RawStringLiteral> for SyntaxNode
Source§fn from(value: RawStringLiteral) -> Self
fn from(value: RawStringLiteral) -> Self
Converts to this type from the input type.
Source§impl PrettyTree for RawStringLiteral
impl PrettyTree for RawStringLiteral
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 RawStringLiteralwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for RawStringLiteralwhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
Source§impl ToCells for RawStringLiteral
impl ToCells for RawStringLiteral
Source§fn to_cells(&self, output: &mut CellStream)
fn to_cells(&self, output: &mut CellStream)
Appends this value’s global cells to
output.Source§fn to_cell_stream(&self, source_id: SourceId) -> CellStream
fn to_cell_stream(&self, source_id: SourceId) -> CellStream
Emits this value into a fresh cell stream with the requested identity.
Source§impl ToTokens for RawStringLiteral
impl ToTokens 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 UnsafeUnpin 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