pub enum VarKind {
Enum(Vec<String>),
Number {
min: f64,
max: f64,
unit: Option<String>,
},
}Variants§
Enum(Vec<String>)
One of a fixed set of named values.
Number
A number in min..=max, with an optional unit such as %.
Trait Implementations§
impl StructuralPartialEq for VarKind
Auto Trait Implementations§
impl Freeze for VarKind
impl RefUnwindSafe for VarKind
impl Send for VarKind
impl Sync for VarKind
impl Unpin for VarKind
impl UnsafeUnpin for VarKind
impl UnwindSafe for VarKind
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