pub struct UnaryExpression(pub UnOp, pub Expression);
Tuple Fields
0: UnOp
1: Expression
Trait Implementations
sourceimpl Clone for UnaryExpression
impl Clone for UnaryExpression
sourcefn clone(&self) -> UnaryExpression
fn clone(&self) -> UnaryExpression
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 UnaryExpression
impl Debug for UnaryExpression
sourceimpl From<UnaryExpression> for Expr
impl From<UnaryExpression> for Expr
sourcefn from(v: UnaryExpression) -> Self
fn from(v: UnaryExpression) -> Self
Converts to this type from the input type.
sourceimpl Interpretable for UnaryExpression
impl Interpretable for UnaryExpression
sourceimpl PartialEq<UnaryExpression> for UnaryExpression
impl PartialEq<UnaryExpression> for UnaryExpression
sourcefn eq(&self, other: &UnaryExpression) -> bool
fn eq(&self, other: &UnaryExpression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UnaryExpression) -> bool
fn ne(&self, other: &UnaryExpression) -> bool
This method tests for !=
.
impl Eq for UnaryExpression
impl StructuralEq for UnaryExpression
impl StructuralPartialEq for UnaryExpression
Auto Trait Implementations
impl RefUnwindSafe for UnaryExpression
impl !Send for UnaryExpression
impl !Sync for UnaryExpression
impl Unpin for UnaryExpression
impl UnwindSafe for UnaryExpression
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