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