Struct ink_ir::StorageItem

source ·
pub struct StorageItem { /* private fields */ }
Expand description

A checked ink! storage item with its configuration.

Implementations§

Returns Ok if the input matches all requirements for an ink! storage item.

Returns AST.

Returns all types that were used in the storage declaration.

Returns the config of the storage.

Returns the visibility of the storage.

Returns the attributes of the storage.

Returns the identifier of the storage.

Returns the generics of the storage.

Returns data of the storage.

Returns salt for storage key.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.