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