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