pub enum ParameterKind {
Float,
Integer,
Boolean,
}Expand description
The value domain a parameter exposes.
Variants§
Float
A continuous floating-point parameter.
Integer
A discrete integer-valued parameter.
Boolean
A two-state on/off parameter.
Trait Implementations§
Source§impl Clone for ParameterKind
impl Clone for ParameterKind
Source§fn clone(&self) -> ParameterKind
fn clone(&self) -> ParameterKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ParameterKind
Source§impl Debug for ParameterKind
impl Debug for ParameterKind
impl Eq for ParameterKind
Source§impl PartialEq for ParameterKind
impl PartialEq for ParameterKind
Source§fn eq(&self, other: &ParameterKind) -> bool
fn eq(&self, other: &ParameterKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParameterKind
Auto Trait Implementations§
impl Freeze for ParameterKind
impl RefUnwindSafe for ParameterKind
impl Send for ParameterKind
impl Sync for ParameterKind
impl Unpin for ParameterKind
impl UnsafeUnpin for ParameterKind
impl UnwindSafe for ParameterKind
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