Enum icu::properties::bidi_data::BidiPairingProperties
source · #[non_exhaustive]
pub enum BidiPairingProperties {
Open(char),
Close(char),
None,
}
Expand description
The enum represents Bidi_Paired_Bracket_Type, the char represents Bidi_Paired_Bracket.
Bidi_Paired_Bracket has a value of None
when Bidi_Paired_Bracket_Type is None
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Open(char)
Represents Bidi_Paired_Bracket_Type=Open, and the Bidi_Paired_Bracket value for that code point.
Close(char)
Represents Bidi_Paired_Bracket_Type=Close, and the Bidi_Paired_Bracket value for that code point.
None
Represents Bidi_Paired_Bracket_Type=None, which cooccurs with Bidi_Paired_Bracket being undefined for that code point.
Trait Implementations§
source§impl Debug for BidiPairingProperties
impl Debug for BidiPairingProperties
source§impl PartialEq<BidiPairingProperties> for BidiPairingProperties
impl PartialEq<BidiPairingProperties> for BidiPairingProperties
source§fn eq(&self, other: &BidiPairingProperties) -> bool
fn eq(&self, other: &BidiPairingProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.