Struct imperator_save::ImperatorExtractor [−][src]
pub struct ImperatorExtractor {}
Logic container for extracting data from an Imperator save
Implementations
impl ImperatorExtractor
[src]
impl ImperatorExtractor
[src]pub fn builder() -> ImperatorExtractorBuilder
[src]
Create a customized container
pub fn extract_header(
data: &[u8]
) -> Result<(HeaderOwned, Encoding), ImperatorError>
[src]
data: &[u8]
) -> Result<(HeaderOwned, Encoding), ImperatorError>
Extract just the header from the save
pub fn extract_save<R>(reader: R) -> Result<(Save, Encoding), ImperatorError> where
R: Read + Seek,
[src]
R: Read + Seek,
Extract all info from a save
Trait Implementations
impl Clone for ImperatorExtractor
[src]
impl Clone for ImperatorExtractor
[src]fn clone(&self) -> ImperatorExtractor
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for ImperatorExtractor
impl RefUnwindSafe for ImperatorExtractor
impl Send for ImperatorExtractor
impl Send for ImperatorExtractor
impl Sync for ImperatorExtractor
impl Sync for ImperatorExtractor
impl Unpin for ImperatorExtractor
impl Unpin for ImperatorExtractor
impl UnwindSafe for ImperatorExtractor
impl UnwindSafe for ImperatorExtractor