pub struct TernaryExpr<A: Debug + Clone> {
pub condition: Expr<A>,
pub yes: Expr<A>,
pub no: Expr<A>,
pub aug: A,
pub location: TextLocation,
}Fields§
§condition: Expr<A>§yes: Expr<A>§no: Expr<A>§aug: A§location: TextLocationTrait Implementations§
Source§impl<A: Clone + Debug + Clone> Clone for TernaryExpr<A>
impl<A: Clone + Debug + Clone> Clone for TernaryExpr<A>
Source§fn clone(&self) -> TernaryExpr<A>
fn clone(&self) -> TernaryExpr<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 moreAuto Trait Implementations§
impl<A> Freeze for TernaryExpr<A>where
A: Freeze,
impl<A> RefUnwindSafe for TernaryExpr<A>where
A: RefUnwindSafe,
impl<A> Send for TernaryExpr<A>
impl<A> Sync for TernaryExpr<A>
impl<A> Unpin for TernaryExpr<A>where
A: Unpin,
impl<A> UnsafeUnpin for TernaryExpr<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for TernaryExpr<A>where
A: UnwindSafe + RefUnwindSafe,
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