Skip to main content

ISpriteAtlasManager_2Methods

Trait ISpriteAtlasManager_2Methods 

Source
pub trait ISpriteAtlasManager_2Methods: ISpriteAtlasManager_2 {
    // Provided methods
    fn load_async(self, path: impl Into<Il2CppString>) { ... }
    fn is_loading(self) -> bool { ... }
    fn is_loaded(self) -> bool { ... }
    fn unload(self) { ... }
    fn get(self, name: impl Into<Il2CppString>) -> Sprite { ... }
    fn try_get(self, name: impl Into<Il2CppString>) -> Sprite { ... }
    fn clear_cache(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn load_async(self, path: impl Into<Il2CppString>)

LoadAsync(::unity::Il2CppString) overload

Source

fn is_loading(self) -> bool

IsLoading() overload

Source

fn is_loaded(self) -> bool

IsLoaded() overload

Source

fn unload(self)

Unload() overload

Source

fn get(self, name: impl Into<Il2CppString>) -> Sprite

Get(::unity::Il2CppString) overload

Source

fn try_get(self, name: impl Into<Il2CppString>) -> Sprite

TryGet(::unity::Il2CppString) overload

Source

fn clear_cache(self)

ClearCache() 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: ISpriteAtlasManager_2> ISpriteAtlasManager_2Methods for __T

Available on crate feature app-spriteatlasmanager_2 only.