pub struct QuoteExpression {
pub specifier: QuoteSpecifier,
pub token: Box<Symbol>,
}Fields§
§specifier: QuoteSpecifier§token: Box<Symbol>Implementations§
Source§impl QuoteExpression
impl QuoteExpression
pub fn new(specifier: QuoteSpecifier, token: Symbol) -> Self
Trait Implementations§
Source§impl Debug for QuoteExpression
impl Debug for QuoteExpression
Source§impl From<QuoteExpression> for Component
impl From<QuoteExpression> for Component
Source§fn from(value: QuoteExpression) -> Self
fn from(value: QuoteExpression) -> Self
Converts to this type from the input type.
Source§impl From<QuoteExpression> for Expr
impl From<QuoteExpression> for Expr
Source§fn from(value: QuoteExpression) -> Self
fn from(value: QuoteExpression) -> Self
Converts to this type from the input type.
Source§impl From<QuoteExpression> for SequenceElement
impl From<QuoteExpression> for SequenceElement
Source§fn from(value: QuoteExpression) -> Self
fn from(value: QuoteExpression) -> Self
Converts to this type from the input type.
Source§impl From<QuoteExpression> for SyntaxNode
impl From<QuoteExpression> for SyntaxNode
Source§fn from(value: QuoteExpression) -> Self
fn from(value: QuoteExpression) -> Self
Converts to this type from the input type.
Source§impl PrettyTree for QuoteExpression
impl PrettyTree for QuoteExpression
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 QuoteExpressionwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for QuoteExpressionwhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
Source§impl ToCells for QuoteExpression
impl ToCells for QuoteExpression
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 QuoteExpression
impl ToTokens for QuoteExpression
Auto Trait Implementations§
impl Freeze for QuoteExpression
impl RefUnwindSafe for QuoteExpression
impl Send for QuoteExpression
impl Sync for QuoteExpression
impl Unpin for QuoteExpression
impl UnsafeUnpin for QuoteExpression
impl UnwindSafe for QuoteExpression
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