pub struct ConditionalExpression {
pub condexpr: Expression,
pub thenexpr: Expression,
pub elseexpr: Expression,
}
Fields
condexpr: Expression
thenexpr: Expression
elseexpr: Expression
Trait Implementations
sourceimpl Clone for ConditionalExpression
impl Clone for ConditionalExpression
sourcefn clone(&self) -> ConditionalExpression
fn clone(&self) -> ConditionalExpression
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 more
sourceimpl Debug for ConditionalExpression
impl Debug for ConditionalExpression
sourceimpl Interpretable for ConditionalExpression
impl Interpretable for ConditionalExpression
sourceimpl PartialEq<ConditionalExpression> for ConditionalExpression
impl PartialEq<ConditionalExpression> for ConditionalExpression
sourcefn eq(&self, other: &ConditionalExpression) -> bool
fn eq(&self, other: &ConditionalExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ConditionalExpression) -> bool
fn ne(&self, other: &ConditionalExpression) -> bool
This method tests for !=
.
impl Eq for ConditionalExpression
impl StructuralEq for ConditionalExpression
impl StructuralPartialEq for ConditionalExpression
Auto Trait Implementations
impl RefUnwindSafe for ConditionalExpression
impl !Send for ConditionalExpression
impl !Sync for ConditionalExpression
impl Unpin for ConditionalExpression
impl UnwindSafe for ConditionalExpression
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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