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