#[repr(u32)]pub enum OutputType {
Memory = 1,
Exe = 2,
Dll = 3,
Obj = 4,
Preprocess = 5,
}Expand description
Output type of the compilation.
Variants§
Memory = 1
output will be run in memory (default)
Exe = 2
executable file
Dll = 3
dynamic library
Obj = 4
object file
Preprocess = 5
only preprocess (used internally)
Trait Implementations§
Source§impl Clone for OutputType
impl Clone for OutputType
Source§fn clone(&self) -> OutputType
fn clone(&self) -> OutputType
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 OutputType
impl Debug for OutputType
impl Copy for OutputType
Auto Trait Implementations§
impl Freeze for OutputType
impl RefUnwindSafe for OutputType
impl Send for OutputType
impl Sync for OutputType
impl Unpin for OutputType
impl UnwindSafe for OutputType
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