Enum choice_string::SomeElementType
source · pub enum SomeElementType {
Individual(usize),
Range(RangeInclusive<usize>),
}
Expand description
A selected element. Can either be an individual item, or a range of items.
Variants§
Individual(usize)
Range(RangeInclusive<usize>)
Trait Implementations§
source§impl Debug for SomeElementType
impl Debug for SomeElementType
source§impl PartialEq<SomeElementType> for SomeElementType
impl PartialEq<SomeElementType> for SomeElementType
source§fn eq(&self, other: &SomeElementType) -> bool
fn eq(&self, other: &SomeElementType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.