[][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.

Fields

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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