Struct cairo_lang_syntax::node::ast::TerminalRefGreen
source · pub struct TerminalRefGreen(pub GreenId);
Tuple Fields§
§0: GreenId
Trait Implementations§
source§impl Clone for TerminalRefGreen
impl Clone for TerminalRefGreen
source§fn clone(&self) -> TerminalRefGreen
fn clone(&self) -> TerminalRefGreen
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 TerminalRefGreen
impl Debug for TerminalRefGreen
source§impl From<TerminalRefGreen> for ModifierGreen
impl From<TerminalRefGreen> for ModifierGreen
source§fn from(value: TerminalRefGreen) -> Self
fn from(value: TerminalRefGreen) -> Self
Converts to this type from the input type.
source§impl Hash for TerminalRefGreen
impl Hash for TerminalRefGreen
source§impl PartialEq for TerminalRefGreen
impl PartialEq for TerminalRefGreen
source§fn eq(&self, other: &TerminalRefGreen) -> bool
fn eq(&self, other: &TerminalRefGreen) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TerminalRefGreen
impl Eq for TerminalRefGreen
impl StructuralPartialEq for TerminalRefGreen
Auto Trait Implementations§
impl RefUnwindSafe for TerminalRefGreen
impl Send for TerminalRefGreen
impl Sync for TerminalRefGreen
impl Unpin for TerminalRefGreen
impl UnwindSafe for TerminalRefGreen
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.