Struct edlang_ast::LetStmt
source · pub struct LetStmt {
pub name: Ident,
pub is_mut: bool,
pub type: Type,
pub value: Expression,
pub span: Span,
}
Fields§
§name: Ident
§is_mut: bool
§type: Type
§value: Expression
§span: Span
Trait Implementations§
source§impl Ord for LetStmt
impl Ord for LetStmt
source§impl PartialEq for LetStmt
impl PartialEq for LetStmt
source§impl PartialOrd for LetStmt
impl PartialOrd for LetStmt
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 LetStmt
impl StructuralPartialEq for LetStmt
Auto Trait Implementations§
impl Freeze for LetStmt
impl RefUnwindSafe for LetStmt
impl Send for LetStmt
impl Sync for LetStmt
impl Unpin for LetStmt
impl UnwindSafe for LetStmt
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