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