Struct ressa::node::LogicalExpression
source · pub struct LogicalExpression {
pub operator: LogicalOperator,
pub left: Box<Expression>,
pub right: Box<Expression>,
}
Expand description
A specialized BinaryExpression
for logical evaluation
true && true
false || true
Fields
operator: LogicalOperator
left: Box<Expression>
right: Box<Expression>
Implementations
sourceimpl LogicalExpression
impl LogicalExpression
pub fn new(operator: LogicalOperator, left: Expression, right: Expression) -> Self
Trait Implementations
sourceimpl Clone for LogicalExpression
impl Clone for LogicalExpression
sourcefn clone(&self) -> LogicalExpression
fn clone(&self) -> LogicalExpression
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 moresourceimpl Debug for LogicalExpression
impl Debug for LogicalExpression
sourceimpl PartialEq<LogicalExpression> for LogicalExpression
impl PartialEq<LogicalExpression> for LogicalExpression
sourcefn eq(&self, other: &LogicalExpression) -> bool
fn eq(&self, other: &LogicalExpression) -> bool
impl StructuralPartialEq for LogicalExpression
Auto Trait Implementations
impl RefUnwindSafe for LogicalExpression
impl Send for LogicalExpression
impl Sync for LogicalExpression
impl Unpin for LogicalExpression
impl UnwindSafe for LogicalExpression
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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