spinoso_string/enc/utf8/owned/
eq.rs

1use alloc::string::String;
2use alloc::vec::Vec;
3
4use bstr::BStr;
5
6use super::{Utf8Str, Utf8String};
7
8impl_partial_eq!(Utf8String, &'a Utf8String);
9impl_partial_eq!(Utf8String, Utf8Str);
10impl_partial_eq!(Utf8String, &'a Utf8Str);
11impl_partial_eq!(Utf8String, &'a mut Utf8Str);
12impl_partial_eq!(Utf8String, Vec<u8>);
13impl_partial_eq!(Utf8String, &'a Vec<u8>);
14impl_partial_eq!(Utf8String, [u8]);
15impl_partial_eq!(Utf8String, &'a [u8]);
16impl_partial_eq!(Utf8String, &'a mut [u8]);
17impl_partial_eq!(Utf8String, BStr);
18impl_partial_eq!(Utf8String, &'a BStr);
19impl_partial_eq!(Utf8String, &'a mut BStr);
20impl_partial_eq!(Utf8String, String);
21impl_partial_eq!(Utf8String, &'a String);
22impl_partial_eq!(Utf8String, str);
23impl_partial_eq!(Utf8String, &'a str);
24impl_partial_eq!(Utf8String, &'a mut str);
25impl_partial_eq_array!(Utf8String, [u8; N]);
26impl_partial_eq_array!(Utf8String, &'a [u8; N]);
27impl_partial_eq_array!(Utf8String, &'a mut [u8; N]);