pub enum ParamValueKind {
Float,
Int,
Bool,
Enum,
}Expand description
Which strongly-typed *Param constructor produced this
ParamInfo. The #[derive(Params)] macro sets it from the
field type so format-side code can branch on the original
typing without re-deriving it from range / unit.
Variants§
Trait Implementations§
Source§impl Clone for ParamValueKind
impl Clone for ParamValueKind
Source§fn clone(&self) -> ParamValueKind
fn clone(&self) -> ParamValueKind
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 moreSource§impl Debug for ParamValueKind
impl Debug for ParamValueKind
Source§impl PartialEq for ParamValueKind
impl PartialEq for ParamValueKind
Source§fn eq(&self, other: &ParamValueKind) -> bool
fn eq(&self, other: &ParamValueKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ParamValueKind
impl Eq for ParamValueKind
impl StructuralPartialEq for ParamValueKind
Auto Trait Implementations§
impl Freeze for ParamValueKind
impl RefUnwindSafe for ParamValueKind
impl Send for ParamValueKind
impl Sync for ParamValueKind
impl Unpin for ParamValueKind
impl UnsafeUnpin for ParamValueKind
impl UnwindSafe for ParamValueKind
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