spinoso_string/enc/utf8/owned/
eq.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
use alloc::string::String;
use alloc::vec::Vec;

use bstr::BStr;

use super::{Utf8Str, Utf8String};

impl_partial_eq!(Utf8String, &'a Utf8String);
impl_partial_eq!(Utf8String, Utf8Str);
impl_partial_eq!(Utf8String, &'a Utf8Str);
impl_partial_eq!(Utf8String, &'a mut Utf8Str);
impl_partial_eq!(Utf8String, Vec<u8>);
impl_partial_eq!(Utf8String, &'a Vec<u8>);
impl_partial_eq!(Utf8String, [u8]);
impl_partial_eq!(Utf8String, &'a [u8]);
impl_partial_eq!(Utf8String, &'a mut [u8]);
impl_partial_eq!(Utf8String, BStr);
impl_partial_eq!(Utf8String, &'a BStr);
impl_partial_eq!(Utf8String, &'a mut BStr);
impl_partial_eq!(Utf8String, String);
impl_partial_eq!(Utf8String, &'a String);
impl_partial_eq!(Utf8String, str);
impl_partial_eq!(Utf8String, &'a str);
impl_partial_eq!(Utf8String, &'a mut str);
impl_partial_eq_array!(Utf8String, [u8; N]);
impl_partial_eq_array!(Utf8String, &'a [u8; N]);
impl_partial_eq_array!(Utf8String, &'a mut [u8; N]);