pub struct Hoi4File {}Expand description
Entrypoint for parsing HOI4 saves
Only consumes enough data to determine encoding of the file
Implementations§
Source§impl Hoi4File
impl Hoi4File
Sourcepub fn from_slice(data: &[u8]) -> Result<Hoi4SliceFile<'_>, Hoi4Error>
pub fn from_slice(data: &[u8]) -> Result<Hoi4SliceFile<'_>, Hoi4Error>
Parse a HOI4 file from a slice of data
Auto Trait Implementations§
impl Freeze for Hoi4File
impl RefUnwindSafe for Hoi4File
impl Send for Hoi4File
impl Sync for Hoi4File
impl Unpin for Hoi4File
impl UnwindSafe for Hoi4File
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