Skip to main content

IPublicObjectMethods

Trait IPublicObjectMethods 

Source
pub trait IPublicObjectMethods: IPublicObject {
    // Provided methods
    fn for_each_impl<M0: IlType + Copy + ClassIdentity>(
        self,
        func: impl Into<PublicObject_Func_1<M0>>,
    ) { ... }
    fn warm_up_impl(self) { ... }
    fn try_create_dictionary(self) { ... }
    fn get_asset_impl<M0: IlType + Copy + ClassIdentity>(
        self,
        name: impl Into<Il2CppString>,
    ) -> M0 { ... }
    fn dump_impl(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn for_each_impl<M0: IlType + Copy + ClassIdentity>( self, func: impl Into<PublicObject_Func_1<M0>>, )

Source

fn warm_up_impl(self)

WarmUpImpl() overload

Source

fn try_create_dictionary(self)

TryCreateDictionary() overload

Source

fn get_asset_impl<M0: IlType + Copy + ClassIdentity>( self, name: impl Into<Il2CppString>, ) -> M0

Source

fn dump_impl(self)

DumpImpl() 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: IPublicObject> IPublicObjectMethods for __T

Available on crate feature app-publicobject only.