Struct magicpak::domain::bundle_path::BundlePath
source · pub struct BundlePath { /* private fields */ }
Implementations§
source§impl BundlePath
impl BundlePath
pub fn new<S>(s: &S) -> &BundlePathwhere
S: AsRef<OsStr> + ?Sized,
pub fn projection<'a, P>(p: &'a P) -> &'a BundlePathwhere
P: AsRef<Path> + 'a,
pub fn to_path_buf(&self) -> BundlePathBuf
pub fn to_str_lossy(&self) -> Cow<'_, str>
pub fn display(&self) -> Display<'_>
pub fn reify<P>(&self, dist: P) -> PathBufwhere
P: AsRef<Path>,
Trait Implementations§
source§impl AsRef<BundlePath> for BundlePath
impl AsRef<BundlePath> for BundlePath
source§fn as_ref(&self) -> &BundlePath
fn as_ref(&self) -> &BundlePath
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<BundlePath> for BundlePathBuf
impl AsRef<BundlePath> for BundlePathBuf
source§fn as_ref(&self) -> &BundlePath
fn as_ref(&self) -> &BundlePath
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Borrow<BundlePath> for BundlePathBuf
impl Borrow<BundlePath> for BundlePathBuf
source§fn borrow(&self) -> &BundlePath
fn borrow(&self) -> &BundlePath
Immutably borrows from an owned value. Read more
source§impl ToOwned for BundlePath
impl ToOwned for BundlePath
§type Owned = BundlePathBuf
type Owned = BundlePathBuf
The resulting type after obtaining ownership.
source§fn to_owned(&self) -> BundlePathBuf
fn to_owned(&self) -> BundlePathBuf
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more