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
sourceimpl InstallPaths
impl InstallPaths
pub fn new(_name: &str, args: &ArgMatches, capi_config: &CApiConfig) -> Self
Trait Implementations
sourceimpl Clone for InstallPaths
impl Clone for InstallPaths
sourcefn clone(&self) -> InstallPaths
fn clone(&self) -> InstallPaths
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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
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