Struct erg_parser::ast::BinOp
source · pub struct BinOp {
pub op: Token,
pub args: [Box<Expr>; 2],
}
Fields§
§op: Token
§args: [Box<Expr>; 2]
Implementations§
Trait Implementations§
source§impl Locational for BinOp
impl Locational for BinOp
source§impl NestedDisplay for BinOp
impl NestedDisplay for BinOp
source§impl PartialEq for BinOp
impl PartialEq for BinOp
impl Eq for BinOp
impl StructuralPartialEq for BinOp
Auto Trait Implementations§
impl Freeze for BinOp
impl RefUnwindSafe for BinOp
impl Send for BinOp
impl Sync for BinOp
impl Unpin for BinOp
impl UnwindSafe for BinOp
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