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