pub enum UnitParamKind {
Percent,
Bipolar,
Choice,
}Expand description
How a user unit’s parameter reads.
Variants§
Percent
A percentage.
Bipolar
A percentage either side of zero.
Choice
A plain number: one of a list of choices.
Trait Implementations§
Source§impl Clone for UnitParamKind
impl Clone for UnitParamKind
impl Copy for UnitParamKind
Source§impl Debug for UnitParamKind
impl Debug for UnitParamKind
impl Eq for UnitParamKind
Source§impl PartialEq for UnitParamKind
impl PartialEq for UnitParamKind
impl StructuralPartialEq for UnitParamKind
Auto Trait Implementations§
impl Freeze for UnitParamKind
impl RefUnwindSafe for UnitParamKind
impl Send for UnitParamKind
impl Sync for UnitParamKind
impl Unpin for UnitParamKind
impl UnsafeUnpin for UnitParamKind
impl UnwindSafe for UnitParamKind
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