Enum rat_in_a_tube::CompileTarget
source · #[repr(C)]pub enum CompileTarget {
HaloCEA = 0,
HaloCEXboxNTSC = 1,
HaloCEGBX = 2,
HaloCEGBXDemo = 3,
HaloCustomEdition = 4,
}
Expand description
Compile target to use. This determines available features, such as functions.
Variants§
HaloCEA = 0
Halo: Combat Evolved Anniversary as released by 343 Industries for Windows.
HaloCEXboxNTSC = 1
NTSC Xbox version is supported
HaloCEGBX = 2
Halo: Combat Evolved as released by Gearbox and MacSoft on Windows and Mac OS X, respectively.
This also applies to the demo released by MacSoft.
HaloCEGBXDemo = 3
Halo: Combat Evolved demo as released by Gearbox on Windows.
This also applies to the un-updated CD version by Gearbox on Windows.
This does not apply to the demo released by MacSoft for Mac OS X, as it’s based on a newer version.
HaloCustomEdition = 4
Halo Custom Edition as released by Gearbox on Windows.
Implementations§
source§impl CompileTarget
impl CompileTarget
sourcepub fn maximum_script_parameters(&self) -> usize
pub fn maximum_script_parameters(&self) -> usize
Get the maximum number of script parameters supported for the target engine.
Trait Implementations§
source§impl Clone for CompileTarget
impl Clone for CompileTarget
source§fn clone(&self) -> CompileTarget
fn clone(&self) -> CompileTarget
Returns a copy 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 Display for CompileTarget
impl Display for CompileTarget
source§impl PartialEq for CompileTarget
impl PartialEq for CompileTarget
source§fn eq(&self, other: &CompileTarget) -> bool
fn eq(&self, other: &CompileTarget) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CompileTarget
impl StructuralPartialEq for CompileTarget
Auto Trait Implementations§
impl RefUnwindSafe for CompileTarget
impl Send for CompileTarget
impl Sync for CompileTarget
impl Unpin for CompileTarget
impl UnwindSafe for CompileTarget
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