pub struct IfExpression {
pub condition: Box<ILExpression>,
pub then_branch: Box<ILExpression>,
pub else_branch: Box<ILExpression>,
}
Fields§
§condition: Box<ILExpression>
§then_branch: Box<ILExpression>
§else_branch: Box<ILExpression>
Trait Implementations§
Source§impl Clone for IfExpression
impl Clone for IfExpression
Source§fn clone(&self) -> IfExpression
fn clone(&self) -> IfExpression
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 IfExpression
impl Debug for IfExpression
Source§impl<'de> Deserialize<'de> for IfExpression
impl<'de> Deserialize<'de> for IfExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for IfExpression
impl PartialEq for IfExpression
Source§impl Serialize for IfExpression
impl Serialize for IfExpression
impl StructuralPartialEq for IfExpression
Auto Trait Implementations§
impl Freeze for IfExpression
impl RefUnwindSafe for IfExpression
impl Send for IfExpression
impl Sync for IfExpression
impl Unpin for IfExpression
impl UnwindSafe for IfExpression
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