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