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