Struct erg_parser::ast::ConstUnaryOp
source · [−]Fields
op: Token
expr: Box<ConstExpr>
Implementations
Trait Implementations
sourceimpl Clone for ConstUnaryOp
impl Clone for ConstUnaryOp
sourcefn clone(&self) -> ConstUnaryOp
fn clone(&self) -> ConstUnaryOp
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 ConstUnaryOp
impl Debug for ConstUnaryOp
sourceimpl Display for ConstUnaryOp
impl Display for ConstUnaryOp
sourceimpl Hash for ConstUnaryOp
impl Hash for ConstUnaryOp
sourceimpl Locational for ConstUnaryOp
impl Locational for ConstUnaryOp
sourceimpl NestedDisplay for ConstUnaryOp
impl NestedDisplay for ConstUnaryOp
sourceimpl PartialEq<ConstUnaryOp> for ConstUnaryOp
impl PartialEq<ConstUnaryOp> for ConstUnaryOp
sourcefn eq(&self, other: &ConstUnaryOp) -> bool
fn eq(&self, other: &ConstUnaryOp) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Eq for ConstUnaryOp
impl StructuralEq for ConstUnaryOp
impl StructuralPartialEq for ConstUnaryOp
Auto Trait Implementations
impl RefUnwindSafe for ConstUnaryOp
impl !Send for ConstUnaryOp
impl !Sync for ConstUnaryOp
impl Unpin for ConstUnaryOp
impl UnwindSafe for ConstUnaryOp
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