pub struct TernaryExpression<'a> {
pub operator: TernaryOperator,
pub values: Box<[Condition<'a>; 3]>,
}Expand description
An expression using three values
Fields§
§operator: TernaryOperatorOperator applied to the values
values: Box<[Condition<'a>; 3]>Values the operator operates on
Trait Implementations§
Source§impl<'a> BuildCondition<'a> for TernaryExpression<'a>
impl<'a> BuildCondition<'a> for TernaryExpression<'a>
Source§impl<'a> Clone for TernaryExpression<'a>
impl<'a> Clone for TernaryExpression<'a>
Source§fn clone(&self) -> TernaryExpression<'a>
fn clone(&self) -> TernaryExpression<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for TernaryExpression<'a>
impl<'a> Debug for TernaryExpression<'a>
Source§impl<'a> PartialEq for TernaryExpression<'a>
impl<'a> PartialEq for TernaryExpression<'a>
impl<'a> StructuralPartialEq for TernaryExpression<'a>
Auto Trait Implementations§
impl<'a> Freeze for TernaryExpression<'a>
impl<'a> RefUnwindSafe for TernaryExpression<'a>
impl<'a> Send for TernaryExpression<'a>
impl<'a> Sync for TernaryExpression<'a>
impl<'a> Unpin for TernaryExpression<'a>
impl<'a> UnsafeUnpin for TernaryExpression<'a>
impl<'a> UnwindSafe for TernaryExpression<'a>
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