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