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