pub enum ControlKind {
Text,
Number,
Choice,
Toggle,
Color,
ReadOnly,
}Expand description
The editor used to change a story argument.
Variants§
Text
Single-line or multi-line text input.
Number
Numeric input.
Choice
One value selected from a fixed option list.
Toggle
Boolean switch.
Color
Color value input.
ReadOnly
Metadata displayed without an editor.
Implementations§
Trait Implementations§
Source§impl Clone for ControlKind
impl Clone for ControlKind
impl Copy for ControlKind
Source§impl Debug for ControlKind
impl Debug for ControlKind
impl Eq for ControlKind
Source§impl PartialEq for ControlKind
impl PartialEq for ControlKind
impl StructuralPartialEq for ControlKind
Auto Trait Implementations§
impl Freeze for ControlKind
impl RefUnwindSafe for ControlKind
impl Send for ControlKind
impl Sync for ControlKind
impl Unpin for ControlKind
impl UnsafeUnpin for ControlKind
impl UnwindSafe for ControlKind
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