pub struct OsFileSystem { /* private fields */ }Expand description
VirtualPathFileSystem implementation backed by the OS filesystem.
All paths passed to readFile() / fileExists() are resolved relative to the root directory supplied at construction time.
Example: utils::OsFileSystem fs(“C:/Games/Warcraft III/Data”); auto data = fs.readFile(“units/human/arthas/arthas.mdx”);
java_package=whiteout.utils
Implementations§
Trait Implementations§
Source§impl Debug for OsFileSystem
impl Debug for OsFileSystem
Source§impl Drop for OsFileSystem
impl Drop for OsFileSystem
impl Send for OsFileSystem
Auto Trait Implementations§
impl !Sync for OsFileSystem
impl Freeze for OsFileSystem
impl RefUnwindSafe for OsFileSystem
impl Unpin for OsFileSystem
impl UnsafeUnpin for OsFileSystem
impl UnwindSafe for OsFileSystem
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more