pub struct ExpressionCell {
pub value: Box<Expr>,
}Fields§
§value: Box<Expr>Implementations§
Trait Implementations§
Source§impl CellNode for ExpressionCell
impl CellNode for ExpressionCell
Source§fn cell_delimiter(&self) -> DelimiterKind
fn cell_delimiter(&self) -> DelimiterKind
Returns the global cell delimiter represented by this typed node.
Source§impl Debug for ExpressionCell
impl Debug for ExpressionCell
Source§impl From<ExpressionCell> for AnyCell
impl From<ExpressionCell> for AnyCell
Source§fn from(value: ExpressionCell) -> Self
fn from(value: ExpressionCell) -> Self
Converts to this type from the input type.
Source§impl From<ExpressionCell> for SyntaxNode
impl From<ExpressionCell> for SyntaxNode
Source§fn from(value: ExpressionCell) -> Self
fn from(value: ExpressionCell) -> Self
Converts to this type from the input type.
Source§impl PrettyTree for ExpressionCell
impl PrettyTree for ExpressionCell
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 ExpressionCellwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for ExpressionCellwhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
Source§impl ToCells for ExpressionCell
impl ToCells for ExpressionCell
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 ExpressionCell
impl ToTokens for ExpressionCell
Auto Trait Implementations§
impl Freeze for ExpressionCell
impl RefUnwindSafe for ExpressionCell
impl Send for ExpressionCell
impl Sync for ExpressionCell
impl Unpin for ExpressionCell
impl UnsafeUnpin for ExpressionCell
impl UnwindSafe for ExpressionCell
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