pub struct UnaryExpression {
pub operator: Operator,
pub value: Box<AstNode>,
}Fields§
§operator: Operator§value: Box<AstNode>Trait Implementations§
Source§impl Clone for UnaryExpression
impl Clone for UnaryExpression
Source§fn clone(&self) -> UnaryExpression
fn clone(&self) -> UnaryExpression
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UnaryExpressionwhere
'de: 'static,
impl<'de> Deserialize<'de> for UnaryExpressionwhere
'de: 'static,
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 PartialEq for UnaryExpression
impl PartialEq for UnaryExpression
Source§fn eq(&self, other: &UnaryExpression) -> bool
fn eq(&self, other: &UnaryExpression) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UnaryExpression
impl Serialize for UnaryExpression
Source§impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime UnaryExpression
impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstStatement> for &'__deriveMoreLifetime UnaryExpression
Source§type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>
type Error = TryIntoError<&'__deriveMoreLifetime AstStatement>
The type returned in the event of a conversion error.
Source§impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut UnaryExpression
impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime mut AstStatement> for &'__deriveMoreLifetime mut UnaryExpression
Source§type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>
type Error = TryIntoError<&'__deriveMoreLifetime mut AstStatement>
The type returned in the event of a conversion error.
Source§impl TryFrom<AstStatement> for UnaryExpression
impl TryFrom<AstStatement> for UnaryExpression
Source§type Error = TryIntoError<AstStatement>
type Error = TryIntoError<AstStatement>
The type returned in the event of a conversion error.
Source§impl Walker for UnaryExpression
impl Walker for UnaryExpression
fn walk<V>(&self, visitor: &mut V)where
V: AstVisitor,
Source§impl WalkerMut for UnaryExpression
impl WalkerMut for UnaryExpression
fn walk<V>(&mut self, visitor: &mut V)where
V: AstVisitorMut,
impl StructuralPartialEq for UnaryExpression
Auto Trait Implementations§
impl Freeze for UnaryExpression
impl RefUnwindSafe for UnaryExpression
impl Send for UnaryExpression
impl Sync for UnaryExpression
impl Unpin for UnaryExpression
impl UnsafeUnpin 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