pub struct UnaryOperation {
pub op: UnaryOperator,
pub expr: Box<Expression>,
pub is_prefix: bool,
}
Fields§
§op: UnaryOperator
§expr: Box<Expression>
§is_prefix: bool
Trait Implementations§
Source§impl Clone for UnaryOperation
impl Clone for UnaryOperation
Source§fn clone(&self) -> UnaryOperation
fn clone(&self) -> UnaryOperation
Returns a duplicate 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 PartialEq for UnaryOperation
impl PartialEq for UnaryOperation
impl StructuralPartialEq for UnaryOperation
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