Enum imperator_save::SaveHeaderKind
source · [−]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
sourceimpl Clone for SaveHeaderKind
impl Clone for SaveHeaderKind
sourcefn clone(&self) -> SaveHeaderKind
fn clone(&self) -> SaveHeaderKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SaveHeaderKind
impl Debug for SaveHeaderKind
sourceimpl PartialEq<SaveHeaderKind> for SaveHeaderKind
impl PartialEq<SaveHeaderKind> for SaveHeaderKind
sourcefn eq(&self, other: &SaveHeaderKind) -> bool
fn eq(&self, other: &SaveHeaderKind) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SaveHeaderKind) -> bool
fn ne(&self, other: &SaveHeaderKind) -> bool
This method tests for !=
.
impl Copy for SaveHeaderKind
impl Eq for SaveHeaderKind
impl StructuralEq for SaveHeaderKind
impl StructuralPartialEq for SaveHeaderKind
Auto Trait Implementations
impl RefUnwindSafe for SaveHeaderKind
impl Send for SaveHeaderKind
impl Sync for SaveHeaderKind
impl Unpin for SaveHeaderKind
impl UnwindSafe for SaveHeaderKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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