pub enum ParamType {
Number,
String,
Bool,
Color,
Any,
}Expand description
The kind of value a parameter accepts, taken from the builtin’s field type.
Variants§
Number
f64, i64 or Num.
String
Bool
Color
Any
Value<O> — the builtin inspects the value itself, so anything goes.
Implementations§
Trait Implementations§
impl Copy for ParamType
impl Eq for ParamType
impl StructuralPartialEq for ParamType
Auto Trait Implementations§
impl Freeze for ParamType
impl RefUnwindSafe for ParamType
impl Send for ParamType
impl Sync for ParamType
impl Unpin for ParamType
impl UnsafeUnpin for ParamType
impl UnwindSafe for ParamType
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