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