[][src]Enum cargo::core::manifest::LibKind

pub enum LibKind {
    Lib,
    Rlib,
    Dylib,
    ProcMacro,
    Other(String),
}

Variants

Lib
Rlib
Dylib
ProcMacro
Other(String)

Implementations

impl LibKind[src]

pub fn crate_type(&self) -> &str[src]

Returns the argument suitable for --crate-type to pass to rustc.

pub fn linkable(&self) -> bool[src]

pub fn requires_upstream_objects(&self) -> bool[src]

Trait Implementations

impl Clone for LibKind[src]

impl Debug for LibKind[src]

impl Eq for LibKind[src]

impl<'a> From<&'a String> for LibKind[src]

impl Hash for LibKind[src]

impl Ord for LibKind[src]

impl PartialEq<LibKind> for LibKind[src]

impl PartialOrd<LibKind> for LibKind[src]

impl StructuralEq for LibKind[src]

impl StructuralPartialEq for LibKind[src]

Auto Trait Implementations

impl RefUnwindSafe for LibKind

impl Send for LibKind

impl Sync for LibKind

impl Unpin for LibKind

impl UnwindSafe for LibKind

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> 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>,