[−][src]Enum rustc_target::spec::LinkOutputKind

pub enum LinkOutputKind {
    DynamicNoPicExe,
    DynamicPicExe,
    StaticNoPicExe,
    StaticPicExe,
    DynamicDylib,
    StaticDylib,
}

Everything is flattened to a single enum to make the json encoding/decoding less annoying.

Variants

DynamicNoPicExe

Dynamically linked non position-independent executable.

DynamicPicExe

Dynamically linked position-independent executable.

StaticNoPicExe

Statically linked non position-independent executable.

StaticPicExe

Statically linked position-independent executable.

DynamicDylib

Regular dynamic library ("dynamically linked").

StaticDylib

Dynamic library with bundled libc ("statically linked").

Implementations

impl LinkOutputKind[src]

pub(in spec) fn as_str(
    &self
) -> &'static str
[src]

pub(crate) fn from_str(s: &str) -> Option<LinkOutputKind>[src]

Trait Implementations

impl Clone for LinkOutputKind[src]

impl Copy for LinkOutputKind[src]

impl Debug for LinkOutputKind[src]

impl Display for LinkOutputKind[src]

impl Eq for LinkOutputKind[src]

impl Ord for LinkOutputKind[src]

impl PartialEq<LinkOutputKind> for LinkOutputKind[src]

impl PartialOrd<LinkOutputKind> for LinkOutputKind[src]

impl StructuralEq for LinkOutputKind[src]

impl StructuralPartialEq for LinkOutputKind[src]

Auto Trait Implementations

impl RefUnwindSafe for LinkOutputKind

impl Send for LinkOutputKind

impl Sync for LinkOutputKind

impl Unpin for LinkOutputKind

impl UnwindSafe for LinkOutputKind

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeResult<T> for T[src]

type Error = !

impl<T> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.