Enum edlang_ast::ValueExpr
source · pub enum ValueExpr {
Bool {
value: bool,
span: Span,
},
Char {
value: char,
span: Span,
},
Int {
value: u128,
span: Span,
},
Float {
value: String,
span: Span,
},
Str {
value: String,
span: Span,
},
Path(PathExpr),
}
Variants§
Trait Implementations§
source§impl Ord for ValueExpr
impl Ord for ValueExpr
source§impl PartialEq for ValueExpr
impl PartialEq for ValueExpr
source§impl PartialOrd for ValueExpr
impl PartialOrd for ValueExpr
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 ValueExpr
impl StructuralEq for ValueExpr
impl StructuralPartialEq for ValueExpr
Auto Trait Implementations§
impl RefUnwindSafe for ValueExpr
impl Send for ValueExpr
impl Sync for ValueExpr
impl Unpin for ValueExpr
impl UnwindSafe for ValueExpr
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