Enum ink_lang_ir::InkItem [−][src]
Expand description
An ink! specific item.
Variants
Storage(Storage)
Tuple Fields
0: Storage
The ink! storage struct definition.
Event(Event)
Tuple Fields
0: Event
An ink! event definition.
ImplBlock(ItemImpl)
Tuple Fields
0: ItemImpl
An ink! implementation block.
Implementations
Returns Some
if self
is the ink! storage struct definition.
Otherwise, returns None
.
Returns true
if the ink! specific item is the storage struct definition.
Returns Some
if self
is an ink! event struct definition.
Otherwise, returns None
.
Returns true
if the ink! specific item is an event struct definition.
Returns Some
if self
is an ink! implementation block.
Otherwise, returns None
.
Returns true
if the ink! specific item is an implementation block.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for InkItem
impl UnwindSafe for InkItem
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty. Read more