pub enum SaveHeaderKind {
Text,
Binary,
UnifiedText,
UnifiedBinary,
SplitText,
SplitBinary,
Other(u16),
}Expand description
The kind of save file
Variants§
Text
uncompressed text
Binary
uncompressed binary
UnifiedText
uncompressed metadata header with compressed gamestate that includes metadata (text)
UnifiedBinary
uncompressed metadata header with compressed gamestate that includes metadata (binary)
SplitText
uncompressed metadata header with compressed gamestate that excludes metadata (text)
SplitBinary
uncompressed metadata header with compressed gamestate that excludes metadata (binary)
Other(u16)
An unknown type
Implementations§
Trait Implementations§
Source§impl Clone for SaveHeaderKind
impl Clone for SaveHeaderKind
Source§fn clone(&self) -> SaveHeaderKind
fn clone(&self) -> SaveHeaderKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SaveHeaderKind
impl Debug for SaveHeaderKind
Source§impl PartialEq for SaveHeaderKind
impl PartialEq for SaveHeaderKind
impl Copy for SaveHeaderKind
impl Eq for SaveHeaderKind
impl StructuralPartialEq for SaveHeaderKind
Auto Trait Implementations§
impl Freeze for SaveHeaderKind
impl RefUnwindSafe for SaveHeaderKind
impl Send for SaveHeaderKind
impl Sync for SaveHeaderKind
impl Unpin for SaveHeaderKind
impl UnwindSafe for SaveHeaderKind
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