pub struct CondClause {
pub condition: Expression,
pub body: Vec<Expression>,
}Expand description
Cond clause
Fields§
§condition: ExpressionCondition
body: Vec<Expression>Body
Trait Implementations§
Source§impl Clone for CondClause
impl Clone for CondClause
Source§fn clone(&self) -> CondClause
fn clone(&self) -> CondClause
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 Debug for CondClause
impl Debug for CondClause
Source§impl<'de> Deserialize<'de> for CondClause
impl<'de> Deserialize<'de> for CondClause
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 CondClause
impl PartialEq for CondClause
Source§fn eq(&self, other: &CondClause) -> bool
fn eq(&self, other: &CondClause) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CondClause
impl Serialize for CondClause
impl StructuralPartialEq for CondClause
Auto Trait Implementations§
impl Freeze for CondClause
impl RefUnwindSafe for CondClause
impl Send for CondClause
impl Sync for CondClause
impl Unpin for CondClause
impl UnsafeUnpin for CondClause
impl UnwindSafe for CondClause
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