pub enum CodegenBackendKind {
Llvm,
Cranelift,
Gcc,
Custom(String),
}Expand description
Represents a codegen backend.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CodegenBackendKind
impl Clone for CodegenBackendKind
Source§fn clone(&self) -> CodegenBackendKind
fn clone(&self) -> CodegenBackendKind
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 moreSource§impl Debug for CodegenBackendKind
impl Debug for CodegenBackendKind
Source§impl Default for CodegenBackendKind
impl Default for CodegenBackendKind
Source§fn default() -> CodegenBackendKind
fn default() -> CodegenBackendKind
Returns the “default value” for a type. Read more
impl Eq for CodegenBackendKind
Source§impl FromStr for CodegenBackendKind
FIXME(Zalathar): This is partly redundant with the parsing code in parse_codegen_backends.
impl FromStr for CodegenBackendKind
FIXME(Zalathar): This is partly redundant with the parsing code in parse_codegen_backends.
Source§impl Hash for CodegenBackendKind
impl Hash for CodegenBackendKind
Source§impl PartialEq for CodegenBackendKind
impl PartialEq for CodegenBackendKind
impl StructuralPartialEq for CodegenBackendKind
Auto Trait Implementations§
impl Freeze for CodegenBackendKind
impl RefUnwindSafe for CodegenBackendKind
impl Send for CodegenBackendKind
impl Sync for CodegenBackendKind
impl Unpin for CodegenBackendKind
impl UnsafeUnpin for CodegenBackendKind
impl UnwindSafe for CodegenBackendKind
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,
§impl<T> Pointable for T
impl<T> Pointable for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes
Size for each variant:
Llvm: 0 bytesCranelift: 0 bytesGcc: 0 bytesCustom: 24 bytes