Struct edlang_ast::WhileStmt
source · pub struct WhileStmt {
pub condition: Expression,
pub block: Block,
pub span: Span,
}
Fields§
§condition: Expression
§block: Block
§span: Span
Trait Implementations§
source§impl Ord for WhileStmt
impl Ord for WhileStmt
source§impl PartialEq for WhileStmt
impl PartialEq for WhileStmt
source§impl PartialOrd for WhileStmt
impl PartialOrd for WhileStmt
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for WhileStmt
impl StructuralPartialEq for WhileStmt
Auto Trait Implementations§
impl Freeze for WhileStmt
impl RefUnwindSafe for WhileStmt
impl Send for WhileStmt
impl Sync for WhileStmt
impl Unpin for WhileStmt
impl UnwindSafe for WhileStmt
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