Struct pkg_config::Library
source · [−]pub struct Library {
pub libs: Vec<String>,
pub link_paths: Vec<PathBuf>,
pub link_files: Vec<PathBuf>,
pub frameworks: Vec<String>,
pub framework_paths: Vec<PathBuf>,
pub include_paths: Vec<PathBuf>,
pub ld_args: Vec<Vec<String>>,
pub defines: HashMap<String, Option<String>>,
pub version: String,
/* private fields */
}
Fields
libs: Vec<String>
Libraries specified by -l
link_paths: Vec<PathBuf>
Library search paths specified by -L
link_files: Vec<PathBuf>
Library file paths specified without -l
frameworks: Vec<String>
Darwin frameworks specified by -framework
framework_paths: Vec<PathBuf>
Darwin framework search paths specified by -F
include_paths: Vec<PathBuf>
C/C++ header include paths specified by -I
ld_args: Vec<Vec<String>>
Linker options specified by -Wl
defines: HashMap<String, Option<String>>
C/C++ definitions specified by -D
version: String
Version specified by .pc file’s Version field
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Library
impl Send for Library
impl Sync for Library
impl Unpin for Library
impl UnwindSafe for Library
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more