Struct magicpak::domain::bundle_path::BundlePathBuf
source · pub struct BundlePathBuf { /* private fields */ }
Methods from Deref<Target = BundlePath>§
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 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 Clone for BundlePathBuf
impl Clone for BundlePathBuf
source§fn clone(&self) -> BundlePathBuf
fn clone(&self) -> BundlePathBuf
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 Deref for BundlePathBuf
impl Deref for BundlePathBuf
§type Target = BundlePath
type Target = BundlePath
The resulting type after dereferencing.
source§fn deref(&self) -> &BundlePath
fn deref(&self) -> &BundlePath
Dereferences the value.