Skip to main content

IFileInfoMethods

Trait IFileInfoMethods 

Source
pub trait IFileInfoMethods: IFileInfo {
    // Provided methods
    fn ctor(self, file_name: impl Into<Il2CppString>) { ... }
    fn init(
        self,
        file_name: impl Into<Il2CppString>,
        check_host: impl Into<bool>,
    ) { ... }
    fn get_display_path(
        self,
        original_path: impl Into<Il2CppString>,
    ) -> Il2CppString { ... }
    fn get_name(self) -> Il2CppString { ... }
    fn get_directory_name(self) -> Il2CppString { ... }
    fn get_directory(self) -> DirectoryInfo { ... }
    fn get_exists(self) -> bool { ... }
    fn to_string(self) -> Il2CppString { ... }
}

Provided Methods§

Source

fn ctor(self, file_name: impl Into<Il2CppString>)

.ctor(::unity::Il2CppString) overload

Source

fn init(self, file_name: impl Into<Il2CppString>, check_host: impl Into<bool>)

Init(::unity::Il2CppString, bool) overload

Source

fn get_display_path( self, original_path: impl Into<Il2CppString>, ) -> Il2CppString

GetDisplayPath(::unity::Il2CppString) overload

Source

fn get_name(self) -> Il2CppString

get_Name() overload

Source

fn get_directory_name(self) -> Il2CppString

get_DirectoryName() overload

Source

fn get_directory(self) -> DirectoryInfo

get_Directory() overload

Source

fn get_exists(self) -> bool

get_Exists() overload

Source

fn to_string(self) -> Il2CppString

ToString() 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: IFileInfo> IFileInfoMethods for __T

Available on crate feature system-io-fileinfo only.