pub struct RomFS { /* private fields */ }
Handle to the RomFS service.
Mount the bundled RomFS archive as a virtual drive.
use ctru::services::romfs::RomFS; let romfs = RomFS::new()?; // Remember to include the RomFS archive and to use your actual files! let contents = std::fs::read_to_string("romfs:/test-file.txt");
TypeId
self
Returns the argument unchanged.
Calls U::from(self).
U::from(self)
That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.
[From]<T> for U