Struct cairo_lang_syntax::node::ast::TokenAndPtr   
source · pub struct TokenAndPtr(pub SyntaxStablePtrId);Tuple Fields§
§0: SyntaxStablePtrIdImplementations§
source§impl TokenAndPtr
 
impl TokenAndPtr
pub fn untyped(&self) -> SyntaxStablePtrId
Trait Implementations§
source§impl Clone for TokenAndPtr
 
impl Clone for TokenAndPtr
source§fn clone(&self) -> TokenAndPtr
 
fn clone(&self) -> TokenAndPtr
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 TokenAndPtr
 
impl Debug for TokenAndPtr
source§impl Hash for TokenAndPtr
 
impl Hash for TokenAndPtr
source§impl PartialEq<TokenAndPtr> for TokenAndPtr
 
impl PartialEq<TokenAndPtr> for TokenAndPtr
source§fn eq(&self, other: &TokenAndPtr) -> bool
 
fn eq(&self, other: &TokenAndPtr) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for TokenAndPtr
impl Eq for TokenAndPtr
impl StructuralEq for TokenAndPtr
impl StructuralPartialEq for TokenAndPtr
Auto Trait Implementations§
impl RefUnwindSafe for TokenAndPtr
impl Send for TokenAndPtr
impl Sync for TokenAndPtr
impl Unpin for TokenAndPtr
impl UnwindSafe for TokenAndPtr
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.