Struct cairo_lang_syntax::node::ast::ItemGreen
source · pub struct ItemGreen(pub GreenId);
Tuple Fields§
§0: GreenId
Trait Implementations§
source§impl From<FunctionWithBodyGreen> for ItemGreen
impl From<FunctionWithBodyGreen> for ItemGreen
source§fn from(value: FunctionWithBodyGreen) -> Self
fn from(value: FunctionWithBodyGreen) -> Self
Converts to this type from the input type.
source§impl From<ItemConstantGreen> for ItemGreen
impl From<ItemConstantGreen> for ItemGreen
source§fn from(value: ItemConstantGreen) -> Self
fn from(value: ItemConstantGreen) -> Self
Converts to this type from the input type.
source§impl From<ItemEnumGreen> for ItemGreen
impl From<ItemEnumGreen> for ItemGreen
source§fn from(value: ItemEnumGreen) -> Self
fn from(value: ItemEnumGreen) -> Self
Converts to this type from the input type.
source§impl From<ItemExternFunctionGreen> for ItemGreen
impl From<ItemExternFunctionGreen> for ItemGreen
source§fn from(value: ItemExternFunctionGreen) -> Self
fn from(value: ItemExternFunctionGreen) -> Self
Converts to this type from the input type.
source§impl From<ItemExternTypeGreen> for ItemGreen
impl From<ItemExternTypeGreen> for ItemGreen
source§fn from(value: ItemExternTypeGreen) -> Self
fn from(value: ItemExternTypeGreen) -> Self
Converts to this type from the input type.
source§impl From<ItemImplAliasGreen> for ItemGreen
impl From<ItemImplAliasGreen> for ItemGreen
source§fn from(value: ItemImplAliasGreen) -> Self
fn from(value: ItemImplAliasGreen) -> Self
Converts to this type from the input type.
source§impl From<ItemImplGreen> for ItemGreen
impl From<ItemImplGreen> for ItemGreen
source§fn from(value: ItemImplGreen) -> Self
fn from(value: ItemImplGreen) -> Self
Converts to this type from the input type.
source§impl From<ItemInlineMacroGreen> for ItemGreen
impl From<ItemInlineMacroGreen> for ItemGreen
source§fn from(value: ItemInlineMacroGreen) -> Self
fn from(value: ItemInlineMacroGreen) -> Self
Converts to this type from the input type.
source§impl From<ItemMissingGreen> for ItemGreen
impl From<ItemMissingGreen> for ItemGreen
source§fn from(value: ItemMissingGreen) -> Self
fn from(value: ItemMissingGreen) -> Self
Converts to this type from the input type.
source§impl From<ItemModuleGreen> for ItemGreen
impl From<ItemModuleGreen> for ItemGreen
source§fn from(value: ItemModuleGreen) -> Self
fn from(value: ItemModuleGreen) -> Self
Converts to this type from the input type.
source§impl From<ItemStructGreen> for ItemGreen
impl From<ItemStructGreen> for ItemGreen
source§fn from(value: ItemStructGreen) -> Self
fn from(value: ItemStructGreen) -> Self
Converts to this type from the input type.
source§impl From<ItemTraitGreen> for ItemGreen
impl From<ItemTraitGreen> for ItemGreen
source§fn from(value: ItemTraitGreen) -> Self
fn from(value: ItemTraitGreen) -> Self
Converts to this type from the input type.
source§impl From<ItemTypeAliasGreen> for ItemGreen
impl From<ItemTypeAliasGreen> for ItemGreen
source§fn from(value: ItemTypeAliasGreen) -> Self
fn from(value: ItemTypeAliasGreen) -> Self
Converts to this type from the input type.
source§impl From<ItemUseGreen> for ItemGreen
impl From<ItemUseGreen> for ItemGreen
source§fn from(value: ItemUseGreen) -> Self
fn from(value: ItemUseGreen) -> Self
Converts to this type from the input type.
source§impl PartialEq for ItemGreen
impl PartialEq for ItemGreen
impl Copy for ItemGreen
impl Eq for ItemGreen
impl StructuralEq for ItemGreen
impl StructuralPartialEq for ItemGreen
Auto Trait Implementations§
impl RefUnwindSafe for ItemGreen
impl Send for ItemGreen
impl Sync for ItemGreen
impl Unpin for ItemGreen
impl UnwindSafe for ItemGreen
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.