pub type StartDirectory = AbsolutePath;
Expand description
An absolute path used as start directory in a package build environment
This is a type alias for AbsolutePath
§Examples
use std::str::FromStr;
use alpm_types::{Error, StartDirectory};
// Create StartDirectory from &str and format it
assert_eq!(
"/etc",
StartDirectory::from_str("/etc")?.to_string()
);
Aliased Type§
struct StartDirectory(PathBuf);
Fields§
§0: PathBuf
Implementations
Trait Implementations
Source§impl Clone for AbsolutePath
impl Clone for AbsolutePath
Source§fn clone(&self) -> AbsolutePath
fn clone(&self) -> AbsolutePath
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 more