[−][src]Struct cargo_toml_builder::types::NonLibTarget
Represents [[bench]]
, [[bin]]
, [[example]]
, and [[test]]
tables
Methods
impl NonLibTarget
[src]
pub fn new() -> NonLibTargetBuilder
[src]
Constructs a builder for a non-lib target (bin, example, bench, test)
pub fn name(&self) -> Option<&String>
[src]
Returns the value of the name of this target
pub fn path(&self) -> Option<&String>
[src]
Returns the value of the path to the root for this target
pub fn test(&self) -> Option<bool>
[src]
Returns the value of the test flag for this target
pub fn doctest(&self) -> Option<bool>
[src]
Returns the value of the doctest flag for this target
pub fn bench(&self) -> Option<bool>
[src]
Returns the value of the bench flag for this target
pub fn doc(&self) -> Option<bool>
[src]
Returns the value of the doc flag for this target
pub fn plugin(&self) -> Option<bool>
[src]
Returns the value of the plugin flag for this target
pub fn proc_macro(&self) -> Option<bool>
[src]
Returns the value of the proc-macro flag for this target
pub fn harness(&self) -> Option<bool>
[src]
Returns the value of the harness flag for this target
pub fn required_features(&self) -> Option<&Vec<String>>
[src]
Returns the value of the required-features value for this target
Trait Implementations
impl<'a> From<&'a mut NonLibTargetBuilder> for NonLibTarget
[src]
fn from(t: &'a mut NonLibTargetBuilder) -> NonLibTarget
[src]
impl<'a> From<&'a NonLibTarget> for Table
[src]
fn from(t: &'a NonLibTarget) -> Table
[src]
impl Default for NonLibTarget
[src]
fn default() -> NonLibTarget
[src]
impl Clone for NonLibTarget
[src]
fn clone(&self) -> NonLibTarget
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<NonLibTarget> for NonLibTarget
[src]
fn eq(&self, other: &NonLibTarget) -> bool
[src]
fn ne(&self, other: &NonLibTarget) -> bool
[src]
impl Debug for NonLibTarget
[src]
Auto Trait Implementations
impl Send for NonLibTarget
impl Sync for NonLibTarget
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,