Struct cairo_lang_syntax::node::ast::TokenConst   
source · pub struct TokenConst { /* private fields */ }Trait Implementations§
source§impl Clone for TokenConst
 
impl Clone for TokenConst
source§fn clone(&self) -> TokenConst
 
fn clone(&self) -> TokenConst
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 TokenConst
 
impl Debug for TokenConst
source§impl Hash for TokenConst
 
impl Hash for TokenConst
source§impl PartialEq for TokenConst
 
impl PartialEq for TokenConst
source§fn eq(&self, other: &TokenConst) -> bool
 
fn eq(&self, other: &TokenConst) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Token for TokenConst
 
impl Token for TokenConst
source§impl TypedSyntaxNode for TokenConst
 
impl TypedSyntaxNode for TokenConst
source§const OPTIONAL_KIND: Option<SyntaxKind> = _
 
const OPTIONAL_KIND: Option<SyntaxKind> = _
The relevant SyntaxKind. None for enums.
type StablePtr = TokenConstPtr
type Green = TokenConstGreen
fn missing(db: &dyn SyntaxGroup) -> Self::Green
fn from_syntax_node(db: &dyn SyntaxGroup, node: SyntaxNode) -> Self
fn as_syntax_node(&self) -> SyntaxNode
fn stable_ptr(&self) -> Self::StablePtr
impl Eq for TokenConst
impl StructuralPartialEq for TokenConst
Auto Trait Implementations§
impl RefUnwindSafe for TokenConst
impl Send for TokenConst
impl Sync for TokenConst
impl Unpin for TokenConst
impl UnwindSafe for TokenConst
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.