Struct ink_lang_ir::InkTraitDefinition
source · [−]pub struct InkTraitDefinition { /* private fields */ }
Expand description
A checked ink! trait definition without its configuration.
Implementations
Returns Ok
if the input matches all requirements for an ink! trait definition.
Returns the ink! trait item representing the ink! trait definition.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.