pub struct TernaryExpression {
pub condition: Box<Expression>,
pub if_true: Box<Expression>,
pub if_false: Box<Expression>,
pub span: Span,
}Fields§
§condition: Box<Expression>§if_true: Box<Expression>§if_false: Box<Expression>§span: SpanTrait Implementations§
Source§impl AsgExpression for TernaryExpression
impl AsgExpression for TernaryExpression
Source§impl Clone for TernaryExpression
impl Clone for TernaryExpression
Source§fn clone(&self) -> TernaryExpression
fn clone(&self) -> TernaryExpression
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TernaryExpression
impl Debug for TernaryExpression
Source§impl PartialEq for TernaryExpression
impl PartialEq for TernaryExpression
impl StructuralPartialEq for TernaryExpression
Auto Trait Implementations§
impl Freeze for TernaryExpression
impl !RefUnwindSafe for TernaryExpression
impl !Send for TernaryExpression
impl !Sync for TernaryExpression
impl Unpin for TernaryExpression
impl !UnwindSafe for TernaryExpression
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