Struct find_folly::Folly
source · [−]pub struct Folly {
pub lib_dirs: Vec<PathBuf>,
pub include_paths: Vec<PathBuf>,
pub other_cflags: Vec<String>,
/* private fields */
}
Expand description
Information about the Folly library.
You can the information in this structure to populate a cc::Build
in order to compile code
that uses Folly:
let folly = find_folly::probe_folly().unwrap();
let mut build = cc::Build::new();
... populate `build` ...
build.includes(&folly.include_paths);
for other_cflag in &folly.other_cflags {
build.flag(other_cflag);
}
Fields
lib_dirs: Vec<PathBuf>
include_paths: Vec<PathBuf>
other_cflags: Vec<String>
Auto Trait Implementations
impl RefUnwindSafe for Folly
impl Send for Folly
impl Sync for Folly
impl Unpin for Folly
impl UnwindSafe for Folly
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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