pub trait IHubResourceMethods: IHubResource {
// Provided methods
fn get<M0: IlType + Copy + ClassIdentity>(
self,
name: impl Into<Il2CppString>,
) -> M0 { ... }
fn is_loading(self) -> bool { ... }
fn on_create(self) { ... }
fn on_dispose(self) { ... }
fn add(self, path: impl Into<Il2CppString>) { ... }
fn ctor(self) { ... }
}Provided Methods§
fn get<M0: IlType + Copy + ClassIdentity>( self, name: impl Into<Il2CppString>, ) -> M0
Sourcefn is_loading(self) -> bool
fn is_loading(self) -> bool
IsLoading() overload
Sourcefn on_dispose(self)
fn on_dispose(self)
OnDispose() overload
Sourcefn add(self, path: impl Into<Il2CppString>)
fn add(self, path: impl Into<Il2CppString>)
Add(::unity::Il2CppString) 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§
impl<__T: IHubResource> IHubResourceMethods for __T
Available on crate feature
app-hubresource only.