Struct edlang_ast::Block
source · pub struct Block {
pub body: Vec<Statement>,
pub span: Span,
}
Fields§
§body: Vec<Statement>
§span: Span
Trait Implementations§
source§impl Ord for Block
impl Ord for Block
source§impl PartialEq for Block
impl PartialEq for Block
source§impl PartialOrd for Block
impl PartialOrd for Block
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 Block
impl StructuralPartialEq for Block
Auto Trait Implementations§
impl Freeze for Block
impl RefUnwindSafe for Block
impl Send for Block
impl Sync for Block
impl Unpin for Block
impl UnwindSafe for Block
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