pub struct IfelseStatement {
pub exprs: Vec<(Expr, Expr)>,
pub close: Option<Expr>,
}Fields§
§exprs: Vec<(Expr, Expr)>The first if condition followed by a body, followed by any number of else if’s
close: Option<Expr>the final else body, if there is one
Implementations§
Trait Implementations§
Source§impl Clone for IfelseStatement
impl Clone for IfelseStatement
Source§impl Debug for IfelseStatement
impl Debug for IfelseStatement
Source§impl Default for IfelseStatement
impl Default for IfelseStatement
impl Eq for IfelseStatement
Source§impl PartialEq for IfelseStatement
impl PartialEq for IfelseStatement
impl StructuralPartialEq for IfelseStatement
Auto Trait Implementations§
impl !Freeze for IfelseStatement
impl RefUnwindSafe for IfelseStatement
impl Send for IfelseStatement
impl Sync for IfelseStatement
impl Unpin for IfelseStatement
impl UnsafeUnpin for IfelseStatement
impl UnwindSafe for IfelseStatement
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.