pub enum CncGame {
Show 17 variants
TD = 0,
RA = 1,
TS = 2,
DUNE2 = 3,
DUNE2000 = 4,
RA2 = 5,
RA2_YR = 6,
RG = 7,
GR = 8,
GR_ZH = 9,
EBFD = 10,
NOX = 11,
BFME = 12,
BFME2 = 13,
TW = 14,
TS_FS = 15,
UNKNOWN = 16,
}Expand description
Enum representing different games that use XCC format
Variants§
TD = 0
Tiberian Dawn
RA = 1
Red Alert
TS = 2
Tiberian Sun
DUNE2 = 3
Dune 2
DUNE2000 = 4
Dune 2000
RA2 = 5
Red Alert 2
RA2_YR = 6
Red Alert 2: Yuri’s Revenge
RG = 7
Renegade
GR = 8
Generals
GR_ZH = 9
Generals: Zero Hour
EBFD = 10
Emperor: Battle for Dune
NOX = 11
Nox
BFME = 12
Battle for Middle Earth
BFME2 = 13
Battle for Middle Earth 2
TW = 14
Tiberium Wars
TS_FS = 15
Tiberian Sun: Firestorm
UNKNOWN = 16
Unknown game
Trait Implementations§
impl Copy for CncGame
impl Eq for CncGame
impl StructuralPartialEq for CncGame
Auto Trait Implementations§
impl Freeze for CncGame
impl RefUnwindSafe for CncGame
impl Send for CncGame
impl Sync for CncGame
impl Unpin for CncGame
impl UnwindSafe for CncGame
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().