pub enum MjuiDefType {
Check {
modifier: String,
},
Radio {
values: String,
},
Select {
values: String,
},
Slider {
range: (f64, f64),
},
Edit {
range: (f64, f64),
n_dimensions: usize,
type_: MjuiDefDataType,
},
Button {
modifier: String,
},
End,
}Expand description
Widget specific configuration for the MjuiDef
Variants§
Auto Trait Implementations§
impl Freeze for MjuiDefType
impl RefUnwindSafe for MjuiDefType
impl Send for MjuiDefType
impl Sync for MjuiDefType
impl Unpin for MjuiDefType
impl UnwindSafe for MjuiDefType
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