Struct ck3save::file::Ck3ParsedFile
source · [−]pub struct Ck3ParsedFile<'a> { /* private fields */ }
Expand description
An Ck3 file that has been parsed
Implementations
sourceimpl<'a> Ck3ParsedFile<'a>
impl<'a> Ck3ParsedFile<'a>
sourcepub fn kind(&self) -> &Ck3ParsedFileKind<'_>
pub fn kind(&self) -> &Ck3ParsedFileKind<'_>
Returns the kind of file (binary or text)
sourcepub fn deserializer(&self) -> Ck3Deserializer<'_, '_>
pub fn deserializer(&self) -> Ck3Deserializer<'_, '_>
Prepares the file for deserialization into a custom structure
Auto Trait Implementations
impl<'a> RefUnwindSafe for Ck3ParsedFile<'a>
impl<'a> Send for Ck3ParsedFile<'a>
impl<'a> Sync for Ck3ParsedFile<'a>
impl<'a> Unpin for Ck3ParsedFile<'a>
impl<'a> UnwindSafe for Ck3ParsedFile<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more