Struct mm0_util::CURRENT_DIR[][src]

pub struct CURRENT_DIR { /* fields omitted */ }
Expand description

A PathBuf created by lazy_static! pointing to a canonicalized “.”

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());

Invokes capacity on the underlying instance of OsString.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.