Lines Matching refs:Str
1 use crate::builder::Str;
9 pub struct Id(Str);
17 Self(Str::from_static_ref(name)) in from_static_ref()
25 pub(crate) fn as_internal_str(&self) -> &Str { in as_internal_str() argument
36 impl From<Str> for Id {
37 fn from(name: Str) -> Self { in from()
42 impl From<&'_ Str> for Id {
43 fn from(name: &'_ Str) -> Self { in from()
74 impl From<Id> for Str { implementation
82 Str::from(name).into() in from()
140 impl PartialEq<Str> for Id {
142 fn eq(&self, other: &Str) -> bool { in eq()
146 impl PartialEq<Id> for Str { implementation