pub struct Args {
pub manifest_path: Option<PathBuf>,
pub target_dir: PathBuf,
pub target: String,
pub host: String,
pub with_guest_capi: bool,
pub c_sysroot_dir: Option<PathBuf>,
pub env: HashMap<OsString, OsString>,
pub current_dir: PathBuf,
pub clang: Option<PathBuf>,
pub ar: Option<PathBuf>,
}Fields§
§manifest_path: Option<PathBuf>§target_dir: PathBuf§target: String§host: String§with_guest_capi: bool§c_sysroot_dir: Option<PathBuf>§env: HashMap<OsString, OsString>§current_dir: PathBuf§clang: Option<PathBuf>§ar: Option<PathBuf>Implementations§
Source§impl Args
impl Args
pub fn sysroot_dir(&self) -> PathBuf
pub fn triplet_dir(&self) -> PathBuf
pub fn build_dir(&self) -> PathBuf
pub fn c_libs_dir(&self) -> PathBuf
pub fn wrapper_src_dir(&self) -> PathBuf
pub fn wrapper_dir(&self) -> PathBuf
pub fn rust_libs_dir(&self) -> PathBuf
pub fn includes_dir(&self) -> PathBuf
pub fn crate_dir(&self) -> PathBuf
Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnsafeUnpin for Args
impl UnwindSafe for Args
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