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