Trait ink_lang::StaticEnv[][src]

pub trait StaticEnv {
    type EnvAccess;
    fn env() -> Self::EnvAccess;
}

Simplifies interaction with the host environment via Self.

Note

This is generally implemented for storage structs that include their environment in order to allow the different dispatch functions to use it for returning the contract’s output.

Associated Types

type EnvAccess[src]

The access wrapper.

Loading content...

Required methods

fn env() -> Self::EnvAccess[src]

Accesses the environment with predefined environmental types.

Loading content...

Implementors

Loading content...