Lines Matching defs:std
10 //! use std::path::PathBuf;
24 use std::borrow::Borrow;
25 use std::env;
26 use std::fmt;
27 use std::path;
29 use std::ffi::{OsStr, OsString};
50 /// use std::path::PathBuf;
74 /// use std::path::PathBuf;
126 /// use std::path::PathBuf;
174 /// use std::path::PathBuf;
395 /// advantage of being a type distinct from `std::path::Path` and `std::path::PathBuf`.
397 /// It can be beneficial to use `which::Path` instead of `std::path::Path` when you want the type
400 /// Since `which::Path` implements `Deref` for `std::path::Path`, all methods on `&std::path::Path`
452 /// Returns a reference to a `std::path::Path`.
457 /// Consumes the `which::Path`, yielding its underlying `std::path::PathBuf`.
469 impl std::ops::Deref for Path {
506 /// `std::path::Path` and `std::path::PathBuf`.
508 /// It can be beneficial to use `CanonicalPath` instead of `std::path::Path` when you want the type
512 /// Since `CanonicalPath` implements `Deref` for `std::path::Path`, all methods on
513 /// `&std::path::Path` are also available to `&CanonicalPath` values.
584 /// Returns a reference to a `std::path::Path`.
589 /// Consumes the `which::CanonicalPath`, yielding its underlying `std::path::PathBuf`.
601 impl std::ops::Deref for CanonicalPath {