Struct cargo_c::build::InstallTargetPaths
source · pub struct InstallTargetPaths {
pub from: String,
pub to: String,
}
Fields§
§from: String
pattern to feed to glob::glob()
if the InstallTarget is Asset its root is the the root_path if the InstallTarget is Generated its root is the root_output
to: String
The path to be joined to the canonical directory to install the files discovered by the
glob, e.g. {includedir}/{to}
for includes.
Implementations§
Trait Implementations§
source§impl Clone for InstallTargetPaths
impl Clone for InstallTargetPaths
source§fn clone(&self) -> InstallTargetPaths
fn clone(&self) -> InstallTargetPaths
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more