Lines Matching defs:Str
6 pub struct Str {
10 impl Str {
35 /// Get the raw string of the `Str`
41 impl From<&'_ Str> for Str {
42 fn from(id: &'_ Str) -> Self {
48 impl From<std::string::String> for Str {
55 impl From<&'_ std::string::String> for Str {
61 impl From<&'static str> for Str {
67 impl From<&'_ &'static str> for Str {
73 impl From<Str> for String {
74 fn from(name: Str) -> Self {
79 impl From<Str> for Vec<u8> {
80 fn from(name: Str) -> Self {
85 impl From<Str> for std::ffi::OsString {
86 fn from(name: Str) -> Self {
91 impl From<Str> for std::path::PathBuf {
92 fn from(name: Str) -> Self {
97 impl std::fmt::Display for Str {
104 impl std::fmt::Debug for Str {
111 impl std::ops::Deref for Str {
120 impl AsRef<str> for Str {
127 impl AsRef<[u8]> for Str {
134 impl AsRef<std::ffi::OsStr> for Str {
141 impl AsRef<std::path::Path> for Str {
148 impl std::borrow::Borrow<str> for Str {
155 impl PartialEq<str> for Str {
161 impl PartialEq<Str> for str {
163 fn eq(&self, other: &Str) -> bool {
168 impl PartialEq<&'_ str> for Str {
174 impl PartialEq<Str> for &'_ str {
176 fn eq(&self, other: &Str) -> bool {
181 impl PartialEq<std::ffi::OsStr> for Str {
187 impl PartialEq<Str> for std::ffi::OsStr {
189 fn eq(&self, other: &Str) -> bool {
194 impl PartialEq<&'_ std::ffi::OsStr> for Str {
200 impl PartialEq<Str> for &'_ std::ffi::OsStr {
202 fn eq(&self, other: &Str) -> bool {
207 impl PartialEq<std::string::String> for Str {
213 impl PartialEq<Str> for std::string::String {
215 fn eq(&self, other: &Str) -> bool {