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

pub enum TargetKind {
    Lib(Vec<LibKind>),
    Bin,
    Test,
    Bench,
    Example,
    CustomBuild,
}

Variants

Lib
Bin
Test
Bench
Example
CustomBuild

Trait Implementations

impl Encodable for TargetKind

fn encode<S: Encoder>(&self, s: &mut S) -> Result<(), S::Error>

Derived Implementations

impl Eq for TargetKind

impl PartialEq for TargetKind

fn eq(&self, __arg_0: &TargetKind) -> bool

fn ne(&self, __arg_0: &TargetKind) -> bool

impl Hash for TargetKind

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Clone for TargetKind

fn clone(&self) -> TargetKind

1.0.0fn clone_from(&mut self, source: &Self)

impl Debug for TargetKind

fn fmt(&self, __arg_0: &mut Formatter) -> Result