Struct edlang_ast::ForStmt
source · pub struct ForStmt {
pub name: Ident,
pub from: Expression,
pub to: Option<Expression>,
pub block: Block,
pub span: Span,
}
Fields§
§name: Ident
§from: Expression
§to: Option<Expression>
§block: Block
§span: Span
Trait Implementations§
source§impl Ord for ForStmt
impl Ord for ForStmt
source§impl PartialEq for ForStmt
impl PartialEq for ForStmt
source§impl PartialOrd for ForStmt
impl PartialOrd for ForStmt
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 ForStmt
impl StructuralEq for ForStmt
impl StructuralPartialEq for ForStmt
Auto Trait Implementations§
impl RefUnwindSafe for ForStmt
impl Send for ForStmt
impl Sync for ForStmt
impl Unpin for ForStmt
impl UnwindSafe for ForStmt
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