Struct artifact_app::core::load::REPO_DIR []

pub struct REPO_DIR { /* fields omitted */ }

Methods from Deref<Target=PathBuf>

Coerces to a Path slice.

Examples

use std::path::{Path, PathBuf};

let p = PathBuf::from("/test");
assert_eq!(Path::new("/test"), p.as_path());

Consumes the PathBuf, yielding its internal OsString storage.

Examples

use std::path::PathBuf;

let p = PathBuf::from("/the/head");
let os_str = p.into_os_string();

🔬 This is a nightly-only experimental API.   (into_boxed_path)

Converts this PathBuf into a boxed Path.

Trait Implementations

impl Deref for REPO_DIR

The resulting type after dereferencing

The method called to dereference a value