pub struct UnaryOperation {
    pub operator: String,
    pub term: Box<Expression>,
}Fields§
§operator: String§term: Box<Expression>Implementations§
Source§impl UnaryOperation
 
impl UnaryOperation
pub fn new(op: String, val: Expression) -> UnaryOperation
pub fn is_valid(&self) -> bool
Trait Implementations§
Source§impl Clone for UnaryOperation
 
impl Clone for UnaryOperation
Source§fn clone(&self) -> UnaryOperation
 
fn clone(&self) -> UnaryOperation
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for UnaryOperation
 
impl Debug for UnaryOperation
Source§impl Default for UnaryOperation
 
impl Default for UnaryOperation
Source§fn default() -> UnaryOperation
 
fn default() -> UnaryOperation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UnaryOperation
impl RefUnwindSafe for UnaryOperation
impl Send for UnaryOperation
impl Sync for UnaryOperation
impl Unpin for UnaryOperation
impl UnwindSafe for UnaryOperation
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