Lines Matching refs:str
123 impl From<&'static str> for OsStr {
124 fn from(name: &'static str) -> Self {
129 impl From<&'_ &'static str> for OsStr {
130 fn from(name: &'_ &'static str) -> Self {
184 impl PartialEq<str> for OsStr {
186 fn eq(&self, other: &str) -> bool {
190 impl PartialEq<OsStr> for str {
197 impl PartialEq<&'_ str> for OsStr {
199 fn eq(&self, other: &&str) -> bool {
203 impl PartialEq<OsStr> for &'_ str {