pub struct HirDoWhileStmt {
pub span: Span,
pub body: Box<HirStmt>,
pub condition: HirExpr,
}Expand description
One lowered do/while.
Fields§
§span: SpanSource span.
body: Box<HirStmt>Loop body.
condition: HirExprLoop condition.
Trait Implementations§
Source§impl Clone for HirDoWhileStmt
impl Clone for HirDoWhileStmt
Source§fn clone(&self) -> HirDoWhileStmt
fn clone(&self) -> HirDoWhileStmt
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 HirDoWhileStmt
impl Debug for HirDoWhileStmt
Source§impl<'de> Deserialize<'de> for HirDoWhileStmt
impl<'de> Deserialize<'de> for HirDoWhileStmt
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 HirDoWhileStmt
impl PartialEq for HirDoWhileStmt
Source§impl Serialize for HirDoWhileStmt
impl Serialize for HirDoWhileStmt
impl StructuralPartialEq for HirDoWhileStmt
Auto Trait Implementations§
impl Freeze for HirDoWhileStmt
impl RefUnwindSafe for HirDoWhileStmt
impl Send for HirDoWhileStmt
impl Sync for HirDoWhileStmt
impl Unpin for HirDoWhileStmt
impl UnsafeUnpin for HirDoWhileStmt
impl UnwindSafe for HirDoWhileStmt
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