Struct erg_parser::ast::ConstBinOp
source · [−]Fields
op: Token
lhs: Box<ConstExpr>
rhs: Box<ConstExpr>
Implementations
Trait Implementations
sourceimpl Clone for ConstBinOp
impl Clone for ConstBinOp
sourcefn clone(&self) -> ConstBinOp
fn clone(&self) -> ConstBinOp
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ConstBinOp
impl Debug for ConstBinOp
sourceimpl Display for ConstBinOp
impl Display for ConstBinOp
sourceimpl Hash for ConstBinOp
impl Hash for ConstBinOp
sourceimpl Locational for ConstBinOp
impl Locational for ConstBinOp
sourceimpl NestedDisplay for ConstBinOp
impl NestedDisplay for ConstBinOp
sourceimpl PartialEq<ConstBinOp> for ConstBinOp
impl PartialEq<ConstBinOp> for ConstBinOp
sourcefn eq(&self, other: &ConstBinOp) -> bool
fn eq(&self, other: &ConstBinOp) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ConstBinOp) -> bool
fn ne(&self, other: &ConstBinOp) -> bool
This method tests for !=
.
impl Eq for ConstBinOp
impl StructuralEq for ConstBinOp
impl StructuralPartialEq for ConstBinOp
Auto Trait Implementations
impl RefUnwindSafe for ConstBinOp
impl !Send for ConstBinOp
impl !Sync for ConstBinOp
impl Unpin for ConstBinOp
impl UnwindSafe for ConstBinOp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more