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§
Sourcefn ctor(self, file_name: impl Into<Il2CppString>)
fn ctor(self, file_name: impl Into<Il2CppString>)
.ctor(::unity::Il2CppString) overload
Sourcefn init(self, file_name: impl Into<Il2CppString>, check_host: impl Into<bool>)
fn init(self, file_name: impl Into<Il2CppString>, check_host: impl Into<bool>)
Init(::unity::Il2CppString, bool) overload
Sourcefn get_display_path(
self,
original_path: impl Into<Il2CppString>,
) -> Il2CppString
fn get_display_path( self, original_path: impl Into<Il2CppString>, ) -> Il2CppString
GetDisplayPath(::unity::Il2CppString) overload
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
get_Name() overload
Sourcefn get_directory_name(self) -> Il2CppString
fn get_directory_name(self) -> Il2CppString
get_DirectoryName() overload
Sourcefn get_directory(self) -> DirectoryInfo
fn get_directory(self) -> DirectoryInfo
get_Directory() overload
Sourcefn get_exists(self) -> bool
fn get_exists(self) -> bool
get_Exists() overload
Sourcefn to_string(self) -> Il2CppString
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§
impl<__T: IFileInfo> IFileInfoMethods for __T
Available on crate feature
system-io-fileinfo only.