pub struct ConditionalExpr {
pub span: Span,
pub test: ExprRef,
pub consequent: ExprRef,
pub alternate: ExprRef,
}Fields§
§span: Span§test: ExprRef§consequent: ExprRef§alternate: ExprRefTrait Implementations§
Source§impl Clone for ConditionalExpr
impl Clone for ConditionalExpr
Source§fn clone(&self) -> ConditionalExpr
fn clone(&self) -> ConditionalExpr
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 Freeze for ConditionalExpr
impl RefUnwindSafe for ConditionalExpr
impl Send for ConditionalExpr
impl Sync for ConditionalExpr
impl Unpin for ConditionalExpr
impl UnsafeUnpin for ConditionalExpr
impl UnwindSafe for ConditionalExpr
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