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