Struct pkg_config::Config [] [src]

pub struct Config { /* fields omitted */ }

Methods

impl Config
[src]

[src]

Creates a new set of configuration options which are all initially set to "blank".

[src]

Indicate whether the --static flag should be passed.

This will override the inference from environment variables described in the crate documentation.

[src]

Indicate that the library must be at least version vers.

[src]

Add an argument to pass to pkg-config.

It's placed after all of the arguments generated by this library.

[src]

Define whether metadata should be emitted for cargo allowing it to automatically link the binary. Defaults to true.

[src]

Define whether metadata should be emitted for cargo allowing to automatically rebuild when environment variables change. Defaults to false.

[src]

Enable or disable the PKG_CONFIG_ALLOW_SYSTEM_LIBS environment variable.

This env var is enabled by default.

[src]

Run pkg-config to find the library name.

This will use all configuration previously set to specify how pkg-config is run.

Trait Implementations

impl Clone for Config
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Config
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Config

impl Sync for Config