#[non_exhaustive]#[repr(u8)]pub enum DDDMPVersion {
V2_0 = 0,
V3_0 = 1,
}Expand description
DDDMP format version version
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for DDDMPVersion
impl Clone for DDDMPVersion
Source§fn clone(&self) -> DDDMPVersion
fn clone(&self) -> DDDMPVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Countable for DDDMPVersion
impl Countable for DDDMPVersion
Source§impl Debug for DDDMPVersion
impl Debug for DDDMPVersion
Source§impl Default for DDDMPVersion
impl Default for DDDMPVersion
Source§fn default() -> DDDMPVersion
fn default() -> DDDMPVersion
Returns the “default value” for a type. Read more
Source§impl Display for DDDMPVersion
impl Display for DDDMPVersion
Source§impl Hash for DDDMPVersion
impl Hash for DDDMPVersion
Source§impl Ord for DDDMPVersion
impl Ord for DDDMPVersion
Source§fn cmp(&self, other: &DDDMPVersion) -> Ordering
fn cmp(&self, other: &DDDMPVersion) -> Ordering
1.21.0 (const: unstable) · 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 DDDMPVersion
impl PartialEq for DDDMPVersion
Source§fn eq(&self, other: &DDDMPVersion) -> bool
fn eq(&self, other: &DDDMPVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DDDMPVersion
impl PartialOrd for DDDMPVersion
impl Copy for DDDMPVersion
impl Eq for DDDMPVersion
impl StructuralPartialEq for DDDMPVersion
Auto Trait Implementations§
impl Freeze for DDDMPVersion
impl RefUnwindSafe for DDDMPVersion
impl Send for DDDMPVersion
impl Sync for DDDMPVersion
impl Unpin for DDDMPVersion
impl UnsafeUnpin for DDDMPVersion
impl UnwindSafe for DDDMPVersion
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