Struct embuild::build::LinkArgs[][src]

pub struct LinkArgs { /* fields omitted */ }

Implementations

Add the linker arguments from the native library.

Propagate all linker arguments to all dependents of this crate.

Important

Calling this method in a dependency doesn’t do anything on itself. All dependents that want to have these linker arguments propagated must call LinkArgs::output_propagated in their build script with the value of this crate’s links property (specified in Cargo.toml).

Add all linker arguments from lib_name which have been propagated using propagate.

lib_name doesn’t refer to a crate, library or package name, it refers to a dependency’s links property value, which is specified in its package manifest (Cargo.toml).

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. 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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.