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