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