pub struct Operation { /* private fields */ }
Implementations§
Source§impl Operation
impl Operation
pub fn new( operator: Operator, lhs: impl Into<Expression>, rhs: impl Into<Expression>, ) -> Self
pub fn operator(&self) -> &Operator
pub fn lhs(&self) -> &Expression
pub fn rhs(&self) -> &Expression
Trait Implementations§
Source§impl From<Operation> for Expression
impl From<Operation> for Expression
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl !Send for Operation
impl !Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
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