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