pub struct SampleList {
    pub sample_ranges: Vec<SampleRange>,
    pub ellipsis: bool,
}Expand description
A list of values used in samples.
๐ง This code is considered unstable; it may change at any time, in breaking or non-breaking ways,
including in SemVer minor releases. In particular, the `DataProvider` implementations are only
guaranteed to match with this version's `*_unstable` providers. Use with caution.
ยงExamples
0.0~1.5, โฆuse icu::plurals::provider::rules::reference::ast::*;
SampleList {
    sample_ranges: vec![SampleRange {
        lower_val: DecimalValue("0.0".to_string()),
        upper_val: Some(DecimalValue("1.5".to_string())),
    }],
    ellipsis: true,
};Fieldsยง
ยงsample_ranges: Vec<SampleRange>A collection of intervals in which all of the contained values (inclusive of the interval boundaries) satisfy the associated rule.
ellipsis: boolIndicates the presence of U+2026 HORIZONTAL ELLIPSIS at the end of sample string, which represents whether an infinite set of values satisfies the rule or not.
Trait Implementationsยง
Sourceยงimpl Clone for SampleList
 
impl Clone for SampleList
Sourceยงfn clone(&self) -> SampleList
 
fn clone(&self) -> SampleList
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 SampleList
 
impl Debug for SampleList
Sourceยงimpl PartialEq for SampleList
 
impl PartialEq for SampleList
impl StructuralPartialEq for SampleList
Auto Trait Implementationsยง
impl Freeze for SampleList
impl RefUnwindSafe for SampleList
impl Send for SampleList
impl Sync for SampleList
impl Unpin for SampleList
impl UnwindSafe for SampleList
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Sourceยงimpl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Sourceยงimpl<T> IntoEither for T
 
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more