Struct cpp_to_rust_common::cpp_build_config::CppBuildPaths
[−]
[src]
pub struct CppBuildPaths { /* fields omitted */ }
Machine-specific information required to build the C++ wrapper library.
Methods
impl CppBuildPaths
[src]
fn new() -> CppBuildPaths
fn add_lib_path<P: Into<PathBuf>>(&mut self, path: P)
Adds path to a lib directory.
It's supplied to the linker via -L
option or environment variables.
fn add_framework_path<P: Into<PathBuf>>(&mut self, path: P)
Adds path to a framework directory (OS X specific).
It's supplied to the linker via -F
option or environment variables.
fn add_include_path<P: Into<PathBuf>>(&mut self, path: P)
Adds path to an include directory.
It's supplied to the C++ parser
and the C++ compiler via -I
option.
fn apply_env(&mut self)
fn lib_paths(&self) -> &[PathBuf]
fn framework_paths(&self) -> &[PathBuf]
fn include_paths(&self) -> &[PathBuf]
Trait Implementations
impl Debug for CppBuildPaths
[src]
impl Default for CppBuildPaths
[src]
fn default() -> CppBuildPaths
Returns the "default value" for a type. Read more
impl Clone for CppBuildPaths
[src]
fn clone(&self) -> CppBuildPaths
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more