pub enum HeaderVersion {
Original,
DsPostDsi,
}Expand description
Header version. Used for determining which fields are relevant in the header.
Variants§
Original
Original, before DSi release.
DsPostDsi
DS game after DSi release but no DSi-specific features used.
Trait Implementations§
source§impl Clone for HeaderVersion
impl Clone for HeaderVersion
source§fn clone(&self) -> HeaderVersion
fn clone(&self) -> HeaderVersion
Returns a copy 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<'de> Deserialize<'de> for HeaderVersion
impl<'de> Deserialize<'de> for HeaderVersion
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for HeaderVersion
impl Display for HeaderVersion
source§impl Ord for HeaderVersion
impl Ord for HeaderVersion
source§fn cmp(&self, other: &HeaderVersion) -> Ordering
fn cmp(&self, other: &HeaderVersion) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for HeaderVersion
impl PartialEq for HeaderVersion
source§impl PartialOrd for HeaderVersion
impl PartialOrd for HeaderVersion
source§impl Serialize for HeaderVersion
impl Serialize for HeaderVersion
impl Copy for HeaderVersion
impl Eq for HeaderVersion
impl StructuralPartialEq for HeaderVersion
Auto Trait Implementations§
impl Freeze for HeaderVersion
impl RefUnwindSafe for HeaderVersion
impl Send for HeaderVersion
impl Sync for HeaderVersion
impl Unpin for HeaderVersion
impl UnwindSafe for HeaderVersion
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.