pub enum Parameter {
Float(FloatParameter),
Int(IntParameter),
String(StringParameter),
Button(IntParameter),
Other(BaseParameter),
}
Expand description
Enum of different parameter types.
Variants
Float(FloatParameter)
ParmType::Float | ParmType::Color
Int(IntParameter)
ParmType::Int | ParmType::Toggle
String(StringParameter)
ParmType::String | ParmType::Node | ParmType::PathFile | ParmType::PathFileDir | ParmType::PathFileGeo | ParmType::PathFileImage
Button(IntParameter)
ParmType::Int
Other(BaseParameter)
Other ParmType::_
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl !UnwindSafe for Parameter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more