Lines Matching refs:std

12     pub(crate) fn from_string(name: std::string::String) -> Self {
48 impl From<std::string::String> for Str {
49 fn from(name: std::string::String) -> Self {
55 impl From<&'_ std::string::String> for Str {
56 fn from(name: &'_ std::string::String) -> Self {
85 impl From<Str> for std::ffi::OsString {
91 impl From<Str> for std::path::PathBuf {
97 impl std::fmt::Display for Str {
99 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
100 std::fmt::Display::fmt(self.as_str(), f)
104 impl std::fmt::Debug for Str {
106 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
107 std::fmt::Debug::fmt(self.as_str(), f)
111 impl std::ops::Deref for Str {
134 impl AsRef<std::ffi::OsStr> for Str {
136 fn as_ref(&self) -> &std::ffi::OsStr {
141 impl AsRef<std::path::Path> for Str {
143 fn as_ref(&self) -> &std::path::Path {
144 std::path::Path::new(self)
148 impl std::borrow::Borrow<str> for Str {
181 impl PartialEq<std::ffi::OsStr> for Str {
183 fn eq(&self, other: &std::ffi::OsStr) -> bool {
187 impl PartialEq<Str> for std::ffi::OsStr {
194 impl PartialEq<&'_ std::ffi::OsStr> for Str {
196 fn eq(&self, other: &&std::ffi::OsStr) -> bool {
200 impl PartialEq<Str> for &'_ std::ffi::OsStr {
207 impl PartialEq<std::string::String> for Str {
209 fn eq(&self, other: &std::string::String) -> bool {
213 impl PartialEq<Str> for std::string::String {
229 pub(crate) fn from_string(name: std::string::String) -> Self {
292 fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
298 fn cmp(&self, other: &Inner) -> std::cmp::Ordering {
305 impl std::hash::Hash for Inner {
307 fn hash<H: std::hash::Hasher>(&self, state: &mut H) {