pub struct WhileExpr {
pub condition: Box<Expr>,
pub body: Box<Expr>,
}Expand description
While expression that returns a value
Fields§
§condition: Box<Expr>§body: Box<Expr>Trait Implementations§
Source§impl<'de> Deserialize<'de> for WhileExpr
impl<'de> Deserialize<'de> for WhileExpr
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
impl StructuralPartialEq for WhileExpr
Auto Trait Implementations§
impl Freeze for WhileExpr
impl RefUnwindSafe for WhileExpr
impl Send for WhileExpr
impl Sync for WhileExpr
impl Unpin for WhileExpr
impl UnsafeUnpin for WhileExpr
impl UnwindSafe for WhileExpr
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