Skip to main content

IHubEnvMethods

Trait IHubEnvMethods 

Source
pub trait IHubEnvMethods: IHubEnv {
    // Provided methods
    fn load(
        self,
        scene_name: impl Into<Il2CppString>,
        timezone_type: impl Into<HubUtil_TimezoneType>,
    ) -> IEnumerator { ... }
    fn apply(self, timezone_type: impl Into<HubUtil_TimezoneType>) { ... }
    fn on_destroy(self) { ... }
    fn is_loading(self) -> bool { ... }
    fn clear_resources(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn load( self, scene_name: impl Into<Il2CppString>, timezone_type: impl Into<HubUtil_TimezoneType>, ) -> IEnumerator

Load(::unity::Il2CppString, crate::app::hubutil::HubUtil_TimezoneType) overload

Source

fn apply(self, timezone_type: impl Into<HubUtil_TimezoneType>)

Apply(crate::app::hubutil::HubUtil_TimezoneType) overload

Source

fn on_destroy(self)

OnDestroy() overload

Source

fn is_loading(self) -> bool

IsLoading() overload

Source

fn clear_resources(self)

ClearResources() overload

Source

fn ctor(self)

.ctor() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IHubEnv> IHubEnvMethods for __T

Available on crate feature app-hubenv only.