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