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 Freeze for Library
impl RefUnwindSafe for Library
impl Send for Library
impl Sync for Library
impl Unpin for Library
impl UnwindSafe for Library
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)