pub trait ComponentState: HasMethods + HasStub + ScryptoEncode + ScryptoDecode {
    const BLUEPRINT_NAME: &'static str;

    // Provided method
    fn instantiate(self) -> Owned<Self> { ... }
}

Required Associated Constants§

source

const BLUEPRINT_NAME: &'static str

Provided Methods§

source

fn instantiate(self) -> Owned<Self>

Object Safety§

This trait is not object safe.

Implementors§