Enum icu::list::ListLength
source · #[non_exhaustive]
pub enum ListLength {
Wide,
Short,
Narrow,
}
Expand description
Represents the style of a list. See the CLDR spec for an explanation of the different styles.
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 ListLength
impl Clone for ListLength
source§fn clone(&self) -> ListLength
fn clone(&self) -> ListLength
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 ListLength
impl Debug for ListLength
source§impl PartialEq<ListLength> for ListLength
impl PartialEq<ListLength> for ListLength
source§fn eq(&self, other: &ListLength) -> bool
fn eq(&self, other: &ListLength) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.