pub enum LabelValues {
List(Vec<String>),
Range {
minimum: i128,
maximum: i128,
},
}Expand description
A label’s values (§4).
Variants§
List(Vec<String>)
values: one or more strings, a value’s code its index.
Range
minimum and maximum: the integers from one to the other, a
value’s code the integer less minimum.
Trait Implementations§
Source§impl Clone for LabelValues
impl Clone for LabelValues
Source§impl Debug for LabelValues
impl Debug for LabelValues
impl Eq for LabelValues
Source§impl Hash for LabelValues
impl Hash for LabelValues
Source§impl PartialEq for LabelValues
impl PartialEq for LabelValues
impl StructuralPartialEq for LabelValues
Auto Trait Implementations§
impl Forget for LabelValues
impl Freeze for LabelValues
impl Move for LabelValues
impl RefUnwindSafe for LabelValues
impl Send for LabelValueswhere
RawVecInner: Send,
impl Sync for LabelValueswhere
RawVecInner: Sync,
impl Unpin for LabelValues
impl UnsafeUnpin for LabelValues
impl UnwindSafe for LabelValueswhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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