Struct rin::util::WORKSPACE_DIR [−][src]
pub struct WORKSPACE_DIR { /* fields omitted */ }
Methods from Deref<Target = PathBuf>
pub fn as_path(&self) -> &Path
1.0.0[src]
Coerces to a Path
slice.
Examples
use std::path::{Path, PathBuf}; let p = PathBuf::from("/test"); assert_eq!(Path::new("/test"), p.as_path());
pub fn capacity(&self) -> usize
1.44.0[src]
Trait Implementations
impl Deref for WORKSPACE_DIR
[src]
impl Deref for WORKSPACE_DIR
[src]impl LazyStatic for WORKSPACE_DIR
[src]
impl LazyStatic for WORKSPACE_DIR
[src]pub fn initialize(lazy: &WORKSPACE_DIR)
[src]
Auto Trait Implementations
impl RefUnwindSafe for WORKSPACE_DIR
impl Send for WORKSPACE_DIR
impl Sync for WORKSPACE_DIR
impl Unpin for WORKSPACE_DIR
impl UnwindSafe for WORKSPACE_DIR
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]