Struct artifact_app::core::load::SETTINGS_PATH []

pub struct SETTINGS_PATH { /* 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 SETTINGS_PATH

The resulting type after dereferencing

The method called to dereference a value