Struct esr::ast::expression::ConditionalExpression
source · pub struct ConditionalExpression<'ast> {
pub test: ExpressionNode<'ast>,
pub consequent: ExpressionNode<'ast>,
pub alternate: ExpressionNode<'ast>,
}
Fields
test: ExpressionNode<'ast>
consequent: ExpressionNode<'ast>
alternate: ExpressionNode<'ast>
Trait Implementations
sourceimpl<'ast> Clone for ConditionalExpression<'ast>
impl<'ast> Clone for ConditionalExpression<'ast>
sourcefn clone(&self) -> ConditionalExpression<'ast>
fn clone(&self) -> ConditionalExpression<'ast>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'ast> Debug for ConditionalExpression<'ast>
impl<'ast> Debug for ConditionalExpression<'ast>
sourceimpl<'ast> From<ConditionalExpression<'ast>> for Expression<'ast>
impl<'ast> From<ConditionalExpression<'ast>> for Expression<'ast>
sourcefn from(val: ConditionalExpression<'ast>) -> Expression<'ast>
fn from(val: ConditionalExpression<'ast>) -> Expression<'ast>
Converts to this type from the input type.
sourceimpl<'ast> PartialEq<ConditionalExpression<'ast>> for ConditionalExpression<'ast>
impl<'ast> PartialEq<ConditionalExpression<'ast>> for ConditionalExpression<'ast>
sourcefn eq(&self, other: &ConditionalExpression<'ast>) -> bool
fn eq(&self, other: &ConditionalExpression<'ast>) -> bool
impl<'ast> Copy for ConditionalExpression<'ast>
impl<'ast> StructuralPartialEq for ConditionalExpression<'ast>
Auto Trait Implementations
impl<'ast> RefUnwindSafe for ConditionalExpression<'ast>
impl<'ast> Send for ConditionalExpression<'ast>
impl<'ast> !Sync for ConditionalExpression<'ast>
impl<'ast> Unpin for ConditionalExpression<'ast>
impl<'ast> UnwindSafe for ConditionalExpression<'ast>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more