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