pub enum OutputType {
Object,
StaticLib,
DynamicLib,
Executable,
LlvmIr,
LlvmBitcode,
Assembly,
Wasm,
}Expand description
Output type for compilation.
Variants§
Object
Object file (.o).
StaticLib
Static library (.a).
DynamicLib
Dynamic library (.so/.dylib/.dll).
Executable
Executable binary.
LlvmIr
LLVM IR (.ll).
LlvmBitcode
LLVM bitcode (.bc).
Assembly
Assembly (.s).
Wasm
WebAssembly module (.wasm).
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 (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 OutputType
Source§impl Debug for OutputType
impl Debug for OutputType
Source§impl Default for OutputType
impl Default for OutputType
Source§fn default() -> OutputType
fn default() -> OutputType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OutputType
impl<'de> Deserialize<'de> for OutputType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for OutputType
Source§impl Hash for OutputType
impl Hash for OutputType
Source§impl PartialEq for OutputType
impl PartialEq for OutputType
Source§fn eq(&self, other: &OutputType) -> bool
fn eq(&self, other: &OutputType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OutputType
impl Serialize for OutputType
impl StructuralPartialEq 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 UnsafeUnpin 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