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

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

Variants

Methods

impl LibKind
[src]

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

Trait Implementations

impl Debug for LibKind
[src]

Formats the value using the given formatter.

impl Clone for LibKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for LibKind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for LibKind
[src]

impl Hash for LibKind
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.