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