pub enum FieldKind {
Toggle,
Number,
Choice,
Multi,
Text,
LongText,
Path,
List,
Colour,
Keys,
Note,
}Expand description
The eleven field kinds. The list is closed: a new one is a decision in
the design note, not in a plugin. All but FieldKind::Note take
input; a note is a read-only line (Field::note).
Variants§
Toggle
Number
Choice
Multi
Text
LongText
Path
List
Colour
Keys
Note
A read-only line of text, with its icon when its meta has one:
what the form will also do, a count, a reminder. Its text is its
draft value, so the host can fill it (Field::note_text).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FieldKind
impl<'de> Deserialize<'de> for FieldKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for FieldKind
impl Eq for FieldKind
impl StructuralPartialEq for FieldKind
Auto Trait Implementations§
impl Freeze for FieldKind
impl RefUnwindSafe for FieldKind
impl Send for FieldKind
impl Sync for FieldKind
impl Unpin for FieldKind
impl UnsafeUnpin for FieldKind
impl UnwindSafe for FieldKind
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