Struct parser::ast::UnaryExpression
source · pub struct UnaryExpression {
pub op: Token,
pub operand: Box<Expression>,
pub span: Span,
}
Fields§
§op: Token
§operand: Box<Expression>
§span: Span
Trait Implementations§
source§impl Clone for UnaryExpression
impl Clone for UnaryExpression
source§fn clone(&self) -> UnaryExpression
fn clone(&self) -> UnaryExpression
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 UnaryExpression
impl Debug for UnaryExpression
source§impl<'de> Deserialize<'de> for UnaryExpression
impl<'de> Deserialize<'de> for UnaryExpression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for UnaryExpression
impl Hash for UnaryExpression
source§impl PartialEq<UnaryExpression> for UnaryExpression
impl PartialEq<UnaryExpression> for UnaryExpression
source§fn 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 ==
.source§impl Serialize for UnaryExpression
impl Serialize for UnaryExpression
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§
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