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