pub enum ParamKind {
Float,
Bool,
Choice(&'static [&'static str]),
}Expand description
The type of a parameter.
Variants§
Float
A number between ParamSpec::min and ParamSpec::max.
Bool
On or off.
Choice(&'static [&'static str])
One of a fixed list of names.
Trait Implementations§
impl StructuralPartialEq for ParamKind
Auto Trait Implementations§
impl Forget for ParamKind
impl Freeze for ParamKind
impl Move for ParamKind
impl RefUnwindSafe for ParamKind
impl Send for ParamKind
impl Sync for ParamKind
impl Unpin for ParamKind
impl UnsafeUnpin for ParamKindwhere
&'static [&'static str]: UnsafeUnpin,
impl UnwindSafe for ParamKindwhere
&'static [&'static str]: 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