Lines Matching defs:Id
9 pub struct Id(Str);
11 impl Id {
20 /// Get the raw string of the `Id`
30 impl From<&'_ Id> for Id {
31 fn from(id: &'_ Id) -> Self {
36 impl From<Str> for Id {
42 impl From<&'_ Str> for Id {
49 impl From<std::string::String> for Id {
56 impl From<&'_ std::string::String> for Id {
62 impl From<&'static str> for Id {
68 impl From<&'_ &'static str> for Id {
74 impl From<Id> for Str {
75 fn from(name: Id) -> Self {
80 impl From<Id> for String {
81 fn from(name: Id) -> Self {
86 impl std::fmt::Display for Id {
93 impl std::fmt::Debug for Id {
100 impl AsRef<str> for Id {
107 impl std::borrow::Borrow<str> for Id {
114 impl PartialEq<str> for Id {
120 impl PartialEq<Id> for str {
122 fn eq(&self, other: &Id) -> bool {
127 impl PartialEq<&'_ str> for Id {
133 impl PartialEq<Id> for &'_ str {
135 fn eq(&self, other: &Id) -> bool {
140 impl PartialEq<Str> for Id {
146 impl PartialEq<Id> for Str {
148 fn eq(&self, other: &Id) -> bool {
153 impl PartialEq<std::string::String> for Id {
159 impl PartialEq<Id> for std::string::String {
161 fn eq(&self, other: &Id) -> bool {