[go: up one dir, main page]

pub struct Dependencies { /* private fields */ }
Expand description

All the system dependencies retrieved by Config::probe.

Implementations

Retrieve details about a system dependency.

Arguments
  • name: the name of the toml key defining the dependency in Cargo.toml

A vector listing all system dependencies in sorted (for build reproducibility) order. The first element of the tuple is the name of the toml key defining the dependency in Cargo.toml.

Returns a vector of Library::libs of each library, removing duplicates.

Returns a vector of Library::link_paths of each library, removing duplicates.

Returns a vector of Library::frameworks of each library, removing duplicates.

Returns a vector of Library::framework_paths of each library, removing duplicates.

Returns a vector of Library::include_paths of each library, removing duplicates.

Returns a vector of Library::defines of each library, removing duplicates.

Trait Implementations

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.