pub struct InkProject { /* private fields */ }
Expand description

An entire ink! project for metadata file generation purposes.

Implementations

Create a new ink! project from a layout and a spec.

Create a new portable ink! project.

The caller is responsible to register all types into the supplied registry.

Returns the metadata version used by the contract.

Returns a read-only registry of types in the contract.

Returns the storage layout of the contract.

Returns the specification of the contract.

Trait Implementations

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

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.

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.