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