[−][src]Struct mila::LayeredFilesystem
Implementations
impl LayeredFilesystem
[src]
pub fn new(
layers: Vec<String>,
language: Language,
game: Game
) -> Result<Self, LayeredFilesystemError>
[src]
layers: Vec<String>,
language: Language,
game: Game
) -> Result<Self, LayeredFilesystemError>
pub fn read(
&self,
path: &str,
localized: bool
) -> Result<Vec<u8>, LayeredFilesystemError>
[src]
&self,
path: &str,
localized: bool
) -> Result<Vec<u8>, LayeredFilesystemError>
pub fn read_archive(
&self,
path: &str,
localized: bool
) -> Result<BinArchive, LayeredFilesystemError>
[src]
&self,
path: &str,
localized: bool
) -> Result<BinArchive, LayeredFilesystemError>
pub fn write(
&self,
path: &str,
bytes: &[u8],
localized: bool
) -> Result<(), LayeredFilesystemError>
[src]
&self,
path: &str,
bytes: &[u8],
localized: bool
) -> Result<(), LayeredFilesystemError>
pub fn write_archive(
&self,
path: &str,
archive: &BinArchive,
localized: bool
) -> Result<(), LayeredFilesystemError>
[src]
&self,
path: &str,
archive: &BinArchive,
localized: bool
) -> Result<(), LayeredFilesystemError>
Auto Trait Implementations
impl !RefUnwindSafe for LayeredFilesystem
impl !Send for LayeredFilesystem
impl !Sync for LayeredFilesystem
impl Unpin for LayeredFilesystem
impl !UnwindSafe for LayeredFilesystem
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,