Enum cargo::core::manifest::TargetKind [−][src]
pub enum TargetKind { Lib(Vec<CrateType>), Bin, Test, Bench, ExampleLib(Vec<CrateType>), ExampleBin, CustomBuild, }
Variants
Implementations
Returns whether production of this artifact requires the object files from dependencies to be available.
This only returns false
when all we’re producing is an rlib, otherwise
it will return true
.
Returns the arguments suitable for --crate-type
to pass to rustc.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for TargetKind
impl Send for TargetKind
impl Sync for TargetKind
impl Unpin for TargetKind
impl UnwindSafe for TargetKind
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V