[][src]Struct cargo_metadata::BuildScript

pub struct BuildScript {
    pub package_id: PackageId,
    pub linked_libs: Vec<PathBuf>,
    pub linked_paths: Vec<PathBuf>,
    pub cfgs: Vec<PathBuf>,
    pub env: Vec<(String, String)>,
    // some fields omitted

Output of a build script execution.


package_id: PackageId

The package this build script execution belongs to

linked_libs: Vec<PathBuf>

The libs to link

linked_paths: Vec<PathBuf>

The paths to search when resolving libs

cfgs: Vec<PathBuf>

Various --cfg flags to pass to the compiler

env: Vec<(String, String)>

The environment variables to add to the compilation

Trait Implementations

impl Clone for BuildScript[src]

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

Performs copy-assignment from source. Read more

impl Debug for BuildScript[src]

impl Serialize for BuildScript[src]

impl<'de> Deserialize<'de> for BuildScript[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>,