pub struct Eu4Melter<'a, 'b> { /* private fields */ }Expand description
Convert a binary save to plaintext
Implementations§
Source§impl<'a, 'b> Eu4Melter<'a, 'b>
impl<'a, 'b> Eu4Melter<'a, 'b>
pub fn from_entries( meta: &'b Eu4Binary<'a>, gamestate: &'b Eu4Binary<'a>, ai: &'b Eu4Binary<'a>, ) -> Self
pub fn verbatim(&mut self, verbatim: bool) -> &mut Self
pub fn on_failed_resolve( &mut self, strategy: FailedResolveStrategy, ) -> &mut Self
pub fn melt<R>(&self, resolver: &R) -> Result<MeltedDocument, Eu4Error>where
R: TokenResolver,
Auto Trait Implementations§
impl<'a, 'b> Freeze for Eu4Melter<'a, 'b>
impl<'a, 'b> RefUnwindSafe for Eu4Melter<'a, 'b>
impl<'a, 'b> Send for Eu4Melter<'a, 'b>
impl<'a, 'b> Sync for Eu4Melter<'a, 'b>
impl<'a, 'b> Unpin for Eu4Melter<'a, 'b>
impl<'a, 'b> UnwindSafe for Eu4Melter<'a, 'b>
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