Lines Matching refs:AsBytes
93 pub trait AsBytes { trait
98 impl<'a> AsBytes for &'a str { impl
101 <str as AsBytes>::as_bytes(self) in as_bytes()
105 impl AsBytes for str {
112 impl<'a> AsBytes for &'a [u8] { impl
119 impl AsBytes for [u8] { impl
129 impl<'a> AsBytes for &'a [u8; $N] { impl
136 impl AsBytes for [u8; $N] { impl
714 self.compare(AsBytes::as_bytes(t)) in compare()
718 self.compare_no_case(AsBytes::as_bytes(t)) in compare_no_case()
857 self.find_substring(AsBytes::as_bytes(substr)) in find_substring()