Struct cairo_lang_syntax::node::ast::ExprBinary   
source · pub struct ExprBinary { /* private fields */ }Implementations§
source§impl ExprBinary
 
impl ExprBinary
source§impl ExprBinary
 
impl ExprBinary
pub fn lhs(&self, db: &dyn SyntaxGroup) -> Expr
pub fn op(&self, db: &dyn SyntaxGroup) -> BinaryOperator
pub fn rhs(&self, db: &dyn SyntaxGroup) -> Expr
Trait Implementations§
source§impl Clone for ExprBinary
 
impl Clone for ExprBinary
source§fn clone(&self) -> ExprBinary
 
fn clone(&self) -> ExprBinary
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 ExprBinary
 
impl Debug for ExprBinary
source§impl Hash for ExprBinary
 
impl Hash for ExprBinary
source§impl PartialEq<ExprBinary> for ExprBinary
 
impl PartialEq<ExprBinary> for ExprBinary
source§fn eq(&self, other: &ExprBinary) -> bool
 
fn eq(&self, other: &ExprBinary) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl TypedSyntaxNode for ExprBinary
 
impl TypedSyntaxNode for ExprBinary
source§const OPTIONAL_KIND: Option<SyntaxKind> = _
 
const OPTIONAL_KIND: Option<SyntaxKind> = _
The relevant SyntaxKind. None for enums.
type StablePtr = ExprBinaryPtr
type Green = ExprBinaryGreen
fn missing(db: &dyn SyntaxGroup) -> Self::Green
fn from_syntax_node(db: &dyn SyntaxGroup, node: SyntaxNode) -> Self
fn as_syntax_node(&self) -> SyntaxNode
fn stable_ptr(&self) -> Self::StablePtr
impl Eq for ExprBinary
impl StructuralEq for ExprBinary
impl StructuralPartialEq for ExprBinary
Auto Trait Implementations§
impl RefUnwindSafe for ExprBinary
impl Send for ExprBinary
impl Sync for ExprBinary
impl Unpin for ExprBinary
impl UnwindSafe for ExprBinary
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
source§impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.