[][src]Enum rustc_ap_rustc_session::utils::NativeLibKind

pub enum NativeLibKind {
    StaticNoBundle,
    StaticBundle,
    Dylib,
    RawDylib,
    Framework,
    Unspecified,
}

Variants

StaticNoBundle

Static library (e.g. libfoo.a on Linux or foo.lib on Windows/MSVC) included when linking a final binary, but not when archiving an rlib.

StaticBundle

Static library (e.g. libfoo.a on Linux or foo.lib on Windows/MSVC) included when linking a final binary, but also included when archiving an rlib.

Dylib

Dynamic library (e.g. libfoo.so on Linux) or an import library corresponding to a dynamic library (e.g. foo.lib on Windows/MSVC).

RawDylib

Dynamic library (e.g. foo.dll on Windows) without a corresponding import library.

Framework

A macOS-specific kind of dynamic libraries.

Unspecified

The library kind wasn't specified, Dylib is currently used as a default.

Trait Implementations

impl Clone for NativeLibKind[src]

impl Copy for NativeLibKind[src]

impl Debug for NativeLibKind[src]

impl<__D: Decoder> Decodable<__D> for NativeLibKind[src]

impl<__E: Encoder> Encodable<__E> for NativeLibKind[src]

impl Eq for NativeLibKind[src]

impl Hash for NativeLibKind[src]

impl<CTX> HashStable<CTX> for NativeLibKind[src]

impl Ord for NativeLibKind[src]

impl PartialEq<NativeLibKind> for NativeLibKind[src]

impl PartialOrd<NativeLibKind> for NativeLibKind[src]

impl StructuralEq for NativeLibKind[src]

impl StructuralPartialEq for NativeLibKind[src]

Auto Trait Implementations

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<'a, T> Captures<'a> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Erased for T[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> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,