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 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl 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
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 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