Struct cargo_c::install::InstallPaths
source · pub struct InstallPaths {
pub subdir_name: PathBuf,
pub destdir: Option<PathBuf>,
pub prefix: PathBuf,
pub libdir: PathBuf,
pub includedir: PathBuf,
pub datadir: PathBuf,
pub bindir: PathBuf,
pub pkgconfigdir: PathBuf,
}
Fields§
§subdir_name: PathBuf
§destdir: Option<PathBuf>
§prefix: PathBuf
§libdir: PathBuf
§includedir: PathBuf
§datadir: PathBuf
§bindir: PathBuf
§pkgconfigdir: PathBuf
Implementations§
source§impl InstallPaths
impl InstallPaths
pub fn new(_name: &str, args: &ArgMatches, capi_config: &CApiConfig) -> Self
Trait Implementations§
source§impl Clone for InstallPaths
impl Clone for InstallPaths
source§fn clone(&self) -> InstallPaths
fn clone(&self) -> InstallPaths
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InstallPaths
impl Debug for InstallPaths
Auto Trait Implementations§
impl RefUnwindSafe for InstallPaths
impl Send for InstallPaths
impl Sync for InstallPaths
impl Unpin for InstallPaths
impl UnwindSafe for InstallPaths
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