pub enum Control {
Input,
Range,
Trigger,
Upload {
mediatype: &'static str,
},
}Expand description
The XForm body control a built-in question renders as.
Variants§
Input
<input>.
Range
<range> (uses start/end/step from parameters).
Trigger
<trigger> (e.g. acknowledge).
Upload
<upload> with the given mediatype.
Trait Implementations§
impl Copy for Control
impl Eq for Control
impl StructuralPartialEq for Control
Auto Trait Implementations§
impl Forget for Control
impl Freeze for Control
impl Move for Control
impl RefUnwindSafe for Control
impl Send for Control
impl Sync for Control
impl Unpin for Control
impl UnsafeUnpin for Controlwhere
&'static str: UnsafeUnpin,
impl UnwindSafe for Controlwhere
&'static str: UnwindSafe,
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