#[repr(i32)]pub enum ModuleVersion {
Flight1 = 48,
Release = 51,
CampaignFlight = 52,
Season3 = 53,
}
Expand description
Revision number of a module file. This version number determines how tags should be read.
Variants§
Flight1 = 48
First “technical preview” build from July 2021.
Release = 51
Second technical preview (August 2021) and release version from November 2021.
CampaignFlight = 52
Build used in the co-op campaign flight, which introduced notable changes to the module structure.
Season3 = 53
Builds from Season 3 and onwards.
Trait Implementations§
Source§impl Debug for ModuleVersion
impl Debug for ModuleVersion
Source§impl Default for ModuleVersion
impl Default for ModuleVersion
Source§fn default() -> ModuleVersion
fn default() -> ModuleVersion
Returns the “default value” for a type. Read more
Source§impl Ord for ModuleVersion
impl Ord for ModuleVersion
Source§fn cmp(&self, other: &ModuleVersion) -> Ordering
fn cmp(&self, other: &ModuleVersion) -> 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 ModuleVersion
impl PartialEq for ModuleVersion
Source§impl PartialOrd for ModuleVersion
impl PartialOrd for ModuleVersion
Source§impl TryFrom<i32> for ModuleVersion
impl TryFrom<i32> for ModuleVersion
Source§type Error = TryFromPrimitiveError<ModuleVersion>
type Error = TryFromPrimitiveError<ModuleVersion>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for ModuleVersion
impl TryFromPrimitive for ModuleVersion
const NAME: &'static str = "ModuleVersion"
type Primitive = i32
type Error = TryFromPrimitiveError<ModuleVersion>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Eq for ModuleVersion
impl StructuralPartialEq for ModuleVersion
Auto Trait Implementations§
impl Freeze for ModuleVersion
impl RefUnwindSafe for ModuleVersion
impl Send for ModuleVersion
impl Sync for ModuleVersion
impl Unpin for ModuleVersion
impl UnwindSafe for ModuleVersion
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