Macros§
- derive_
form_ input - Creates a new form input to be used in a StructForm.
- impl_
numeric_ input_ with_ default_ with_ stringops - Implements
ParseAndFormat<$type> for $numeric_input<$type>
. - impl_
numeric_ input_ with_ stringops - Implements
ParseAndFormat<$type> for $numeric_input<$type>
, and also implementsParseAndFormat<Option<$type>>> for $numeric_input<Option<$type>>
. - impl_
text_ input_ with_ stringops - Implements
ParseAndFormat<$type> for $text_input<$type>
, and also implementsParseAndFormat<Option<$type>>> for $text_input<Option<$type>>
. - impl_
vec_ text_ input_ with_ stringops - Implements
ParseAndFormat<Vec<$type>> for $text_input<Vec<$type>>
.
Enums§
Traits§
- Parse
AndFormat - Trait used to tie strongly typed models into form
inputs. Libraries must define their own form inputs (although
macros are provided to make this easy), and then implement
ParseAndFormat
for their input for all supported types. In other words,impl ParseAndFormat<MyType> for MyTextInput<MyType>
. - Struct
Form