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