pub enum WowVersion {
Vanilla,
TBC,
WotLK,
Cataclysm,
MoP,
}Expand description
WoW version for format compatibility checking
Variants§
Vanilla
World of Warcraft 1.12.1 (Vanilla)
TBC
The Burning Crusade 2.4.3
WotLK
Wrath of the Lich King 3.3.5a
Cataclysm
Cataclysm 4.3.4
MoP
Mists of Pandaria 5.4.8
Trait Implementations§
Source§impl Clone for WowVersion
impl Clone for WowVersion
Source§fn clone(&self) -> WowVersion
fn clone(&self) -> WowVersion
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 moreimpl Copy for WowVersion
Source§impl Debug for WowVersion
impl Debug for WowVersion
impl Eq for WowVersion
Source§impl Hash for WowVersion
impl Hash for WowVersion
Source§impl Ord for WowVersion
impl Ord for WowVersion
Source§fn cmp(&self, other: &WowVersion) -> Ordering
fn cmp(&self, other: &WowVersion) -> 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 WowVersion
impl PartialEq for WowVersion
Source§fn eq(&self, other: &WowVersion) -> bool
fn eq(&self, other: &WowVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WowVersion
impl PartialOrd for WowVersion
impl StructuralPartialEq for WowVersion
Auto Trait Implementations§
impl Freeze for WowVersion
impl RefUnwindSafe for WowVersion
impl Send for WowVersion
impl Sync for WowVersion
impl Unpin for WowVersion
impl UnsafeUnpin for WowVersion
impl UnwindSafe for WowVersion
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more