pub trait IDirectoryInfoMethods: IDirectoryInfo {
Show 13 methods
// Provided methods
fn ctor(self, path: impl Into<Il2CppString>) { ... }
fn ctor_2(
self,
path: impl Into<Il2CppString>,
simple_original_path: impl Into<bool>,
) { ... }
fn initialize(self) { ... }
fn get_exists(self) -> bool { ... }
fn get_name(self) -> Il2CppString { ... }
fn get_parent(self) -> DirectoryInfo { ... }
fn create(self) { ... }
fn get_files(self) -> Array<FileInfo> { ... }
fn get_files_2(
self,
search_pattern: impl Into<Il2CppString>,
) -> Array<FileInfo> { ... }
fn get_directories(self) -> Array<DirectoryInfo> { ... }
fn get_directories_2(
self,
search_pattern: impl Into<Il2CppString>,
) -> Array<DirectoryInfo> { ... }
fn to_string(self) -> Il2CppString { ... }
fn check_path(self, path: impl Into<Il2CppString>) { ... }
}Provided Methods§
Sourcefn ctor(self, path: impl Into<Il2CppString>)
fn ctor(self, path: impl Into<Il2CppString>)
.ctor(::unity::Il2CppString) overload
Sourcefn ctor_2(
self,
path: impl Into<Il2CppString>,
simple_original_path: impl Into<bool>,
)
fn ctor_2( self, path: impl Into<Il2CppString>, simple_original_path: impl Into<bool>, )
.ctor(::unity::Il2CppString, bool) overload
Sourcefn initialize(self)
fn initialize(self)
Initialize() overload
Sourcefn get_exists(self) -> bool
fn get_exists(self) -> bool
get_Exists() overload
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
get_Name() overload
Sourcefn get_parent(self) -> DirectoryInfo
fn get_parent(self) -> DirectoryInfo
get_Parent() overload
Sourcefn get_files_2(self, search_pattern: impl Into<Il2CppString>) -> Array<FileInfo>
fn get_files_2(self, search_pattern: impl Into<Il2CppString>) -> Array<FileInfo>
GetFiles(::unity::Il2CppString) overload
Sourcefn get_directories(self) -> Array<DirectoryInfo>
fn get_directories(self) -> Array<DirectoryInfo>
GetDirectories() overload
Sourcefn get_directories_2(
self,
search_pattern: impl Into<Il2CppString>,
) -> Array<DirectoryInfo>
fn get_directories_2( self, search_pattern: impl Into<Il2CppString>, ) -> Array<DirectoryInfo>
GetDirectories(::unity::Il2CppString) overload
Sourcefn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() overload
Sourcefn check_path(self, path: impl Into<Il2CppString>)
fn check_path(self, path: impl Into<Il2CppString>)
CheckPath(::unity::Il2CppString) 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: IDirectoryInfo> IDirectoryInfoMethods for __T
Available on crate feature
system-io-directoryinfo only.