pub enum WmoVersion {
Classic,
WotLK,
Cataclysm,
MoP,
Warlords,
Legion,
}Expand description
WMO version based on expansion and chunk patterns
Variants§
Classic
Classic/Vanilla (1.12.1) and TBC (2.4.3)
WotLK
Wrath of the Lich King (3.3.5)
Cataclysm
Cataclysm (4.3.4) - introduced MCVP chunk
MoP
Mists of Pandaria (5.4.8)
Warlords
Warlords of Draenor (6.2.4) - introduced GFID chunk
Legion
Legion and later
Implementations§
Source§impl WmoVersion
impl WmoVersion
Sourcepub fn supports_feature(&self, feature: WmoFeature) -> bool
pub fn supports_feature(&self, feature: WmoFeature) -> bool
Check if this version supports a specific feature
Sourcepub fn expansion_name(&self) -> &'static str
pub fn expansion_name(&self) -> &'static str
Get the earliest expansion that supports this version
Trait Implementations§
Source§impl Clone for WmoVersion
impl Clone for WmoVersion
Source§fn clone(&self) -> WmoVersion
fn clone(&self) -> WmoVersion
Returns a duplicate 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 Debug for WmoVersion
impl Debug for WmoVersion
Source§impl PartialEq for WmoVersion
impl PartialEq for WmoVersion
impl Copy for WmoVersion
impl Eq for WmoVersion
impl StructuralPartialEq for WmoVersion
Auto Trait Implementations§
impl Freeze for WmoVersion
impl RefUnwindSafe for WmoVersion
impl Send for WmoVersion
impl Sync for WmoVersion
impl Unpin for WmoVersion
impl UnsafeUnpin for WmoVersion
impl UnwindSafe for WmoVersion
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