Enum ink_ir::InkTraitItem
source · pub enum InkTraitItem<'a> {
Message(InkTraitMessage<'a>),
}
Expand description
An ink! item within an ink! trait definition.
Variants§
Message(InkTraitMessage<'a>)
Implementations§
source§impl<'a> InkTraitItem<'a>
impl<'a> InkTraitItem<'a>
sourcepub fn filter_map_message(self) -> Option<InkTraitMessage<'a>>
pub fn filter_map_message(self) -> Option<InkTraitMessage<'a>>
Returns Some
if the ink! trait item is a message.
Trait Implementations§
source§impl<'a> Clone for InkTraitItem<'a>
impl<'a> Clone for InkTraitItem<'a>
source§fn clone(&self) -> InkTraitItem<'a>
fn clone(&self) -> InkTraitItem<'a>
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 more