Struct cairo_lang_syntax::node::ast::ExprBinaryPtr
source · pub struct ExprBinaryPtr(pub SyntaxStablePtrId);
Tuple Fields§
§0: SyntaxStablePtrId
Implementations§
source§impl ExprBinaryPtr
impl ExprBinaryPtr
pub fn untyped(&self) -> SyntaxStablePtrId
pub fn lookup(&self, db: &dyn SyntaxGroup) -> ExprBinary
Trait Implementations§
source§impl Clone for ExprBinaryPtr
impl Clone for ExprBinaryPtr
source§fn clone(&self) -> ExprBinaryPtr
fn clone(&self) -> ExprBinaryPtr
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 ExprBinaryPtr
impl Debug for ExprBinaryPtr
source§impl From<ExprBinaryPtr> for ExprPtr
impl From<ExprBinaryPtr> for ExprPtr
source§fn from(value: ExprBinaryPtr) -> Self
fn from(value: ExprBinaryPtr) -> Self
Converts to this type from the input type.
source§impl Hash for ExprBinaryPtr
impl Hash for ExprBinaryPtr
source§impl PartialEq for ExprBinaryPtr
impl PartialEq for ExprBinaryPtr
source§fn eq(&self, other: &ExprBinaryPtr) -> bool
fn eq(&self, other: &ExprBinaryPtr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ExprBinaryPtr
impl Eq for ExprBinaryPtr
impl StructuralEq for ExprBinaryPtr
impl StructuralPartialEq for ExprBinaryPtr
Auto Trait Implementations§
impl RefUnwindSafe for ExprBinaryPtr
impl Send for ExprBinaryPtr
impl Sync for ExprBinaryPtr
impl Unpin for ExprBinaryPtr
impl UnwindSafe for ExprBinaryPtr
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 Q
impl<Q, K> Equivalent<K> for Q
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 Q
impl<Q, K> Equivalent<K> for Q
§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 Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.