Expand description

The <form> tag.

Structs

The “action” attribute for a form. See the MDN Web Docs for further details.

A HTML form. You can create a form with Form::new() or Form::default() (they are identical) and then use any of the provided methods to manipulate it (for example adding child elements or attributes).

Enums

An enumeration used for utility purposes. You shouldn’t ever need to construct this directly. Instead you should use one of its member types. These all implement Into for this type. You can then pass them to a method which accepts and type T such that T satisfies Into the type of this utility enum (this is an automatically generated doc comment which is why it doesn’t say Into<type of this enum>.)

The “method” attribute for a form. See the MDN Web Docs for further details.

Functions

Creates a new Form tag – functionally equivalent to Form::new() (but easier to type.)