Skip to main content

IFileDataMethods

Trait IFileDataMethods 

Source
pub trait IFileDataMethods: IFileData {
    // Provided methods
    fn get_path(self) -> Il2CppString { ... }
    fn get_data(self) -> Array<u8> { ... }
    fn get_size(self) -> i32 { ... }
    fn dump(self, index: impl Into<i32>) { ... }
    fn dispose(self) { ... }
    fn ctor(self) { ... }
    fn finalize(self) { ... }
    fn on_build(self) { ... }
    fn on_dispose(self) { ... }
    fn get_crc32(self) -> u32 { ... }
    fn is_valid(self) -> bool { ... }
}

Provided Methods§

Source

fn get_path(self) -> Il2CppString

GetPath() overload

Source

fn get_data(self) -> Array<u8>

GetData() overload

Source

fn get_size(self) -> i32

GetSize() overload

Source

fn dump(self, index: impl Into<i32>)

Dump(i32) overload

Source

fn dispose(self)

Dispose() overload

Source

fn ctor(self)

.ctor() overload

Source

fn finalize(self)

Finalize() overload

Source

fn on_build(self)

OnBuild() overload

Source

fn on_dispose(self)

OnDispose() overload

Source

fn get_crc32(self) -> u32

GetCrc32() overload

Source

fn is_valid(self) -> bool

IsValid() 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: IFileData> IFileDataMethods for __T

Available on crate feature app-filedata only.