Struct cairo_lang_syntax::node::ast::TerminalShortStringGreen
source · pub struct TerminalShortStringGreen(pub GreenId);
Tuple Fields§
§0: GreenId
Trait Implementations§
source§impl Clone for TerminalShortStringGreen
impl Clone for TerminalShortStringGreen
source§fn clone(&self) -> TerminalShortStringGreen
fn clone(&self) -> TerminalShortStringGreen
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 TerminalShortStringGreen
impl Debug for TerminalShortStringGreen
source§impl From<TerminalShortStringGreen> for ExprGreen
impl From<TerminalShortStringGreen> for ExprGreen
source§fn from(value: TerminalShortStringGreen) -> Self
fn from(value: TerminalShortStringGreen) -> Self
Converts to this type from the input type.
source§impl From<TerminalShortStringGreen> for PatternGreen
impl From<TerminalShortStringGreen> for PatternGreen
source§fn from(value: TerminalShortStringGreen) -> Self
fn from(value: TerminalShortStringGreen) -> Self
Converts to this type from the input type.
source§impl Hash for TerminalShortStringGreen
impl Hash for TerminalShortStringGreen
source§impl PartialEq for TerminalShortStringGreen
impl PartialEq for TerminalShortStringGreen
source§fn eq(&self, other: &TerminalShortStringGreen) -> bool
fn eq(&self, other: &TerminalShortStringGreen) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TerminalShortStringGreen
impl Eq for TerminalShortStringGreen
impl StructuralEq for TerminalShortStringGreen
impl StructuralPartialEq for TerminalShortStringGreen
Auto Trait Implementations§
impl RefUnwindSafe for TerminalShortStringGreen
impl Send for TerminalShortStringGreen
impl Sync for TerminalShortStringGreen
impl Unpin for TerminalShortStringGreen
impl UnwindSafe for TerminalShortStringGreen
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.§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,
§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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.