Struct cairo_lang_syntax::node::ast::TokenModGreen
source · pub struct TokenModGreen(pub GreenId);Tuple Fields§
§0: GreenIdImplementations§
source§impl TokenModGreen
impl TokenModGreen
pub fn text(&self, db: &dyn SyntaxGroup) -> SmolStr
Trait Implementations§
source§impl Clone for TokenModGreen
impl Clone for TokenModGreen
source§fn clone(&self) -> TokenModGreen
fn clone(&self) -> TokenModGreen
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 TokenModGreen
impl Debug for TokenModGreen
source§impl Hash for TokenModGreen
impl Hash for TokenModGreen
source§impl PartialEq<TokenModGreen> for TokenModGreen
impl PartialEq<TokenModGreen> for TokenModGreen
source§fn eq(&self, other: &TokenModGreen) -> bool
fn eq(&self, other: &TokenModGreen) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for TokenModGreen
impl Eq for TokenModGreen
impl StructuralEq for TokenModGreen
impl StructuralPartialEq for TokenModGreen
Auto Trait Implementations§
impl RefUnwindSafe for TokenModGreen
impl Send for TokenModGreen
impl Sync for TokenModGreen
impl Unpin for TokenModGreen
impl UnwindSafe for TokenModGreen
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.