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