Enum icu_segmenter::provider::RuleStatusType
source · #[non_exhaustive]
#[repr(u8)]
pub enum RuleStatusType {
None,
Number,
Letter,
}
Expand description
The category tag that is returned by
WordBreakIterator::word_type()
.
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.
Trait Implementations§
source§impl Clone for RuleStatusType
impl Clone for RuleStatusType
source§fn clone(&self) -> RuleStatusType
fn clone(&self) -> RuleStatusType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RuleStatusType
impl Debug for RuleStatusType
source§impl PartialEq<RuleStatusType> for RuleStatusType
impl PartialEq<RuleStatusType> for RuleStatusType
source§fn eq(&self, other: &RuleStatusType) -> bool
fn eq(&self, other: &RuleStatusType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.