formz/widget
Types
pub type Args {
Args(
id: String,
labelled_by: LabelledBy,
described_by: DescribedBy,
)
}
Constructors
-
Args( id: String, labelled_by: LabelledBy, described_by: DescribedBy, )
pub type DescribedBy {
DescribedByElementWithId(id: String)
DescribedByNone
}
Constructors
-
DescribedByElementWithId(id: String) -
DescribedByNone
pub type LabelledBy {
LabelledByLabelFor
LabelledByFieldValue
LabelledByElementWithId(id: String)
}
Constructors
-
LabelledByLabelFor -
LabelledByFieldValue -
LabelledByElementWithId(id: String)
pub type Widget(format) =
fn(field.Field, Args) -> format