[][src]Struct moxie_dom::elements::forms::FieldsetBuilder

#[must_use = "needs to be built"]pub struct FieldsetBuilder { /* fields omitted */ }

The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form.

A type for initializing the element's attributes before calling build.

Implementations

impl FieldsetBuilder[src]

pub fn build(self) -> Fieldset[src]

Initialize the element with all of the attributes so far.

impl FieldsetBuilder[src]

pub fn disabled(self, to_set: impl ToString) -> Self[src]

If this Boolean attribute is set, all form controls that are descendants of the

are disabled, meaning they are not editable and won't be submitted along with the
. They won't receive any browsing events, like mouse clicks or focus-related events. By default browsers display such controls grayed out. Note that form elements inside the element won't be disabled.

pub fn form(self, to_set: impl ToString) -> Self[src]

This attribute takes the value of the id attribute of a element you want the

to be part of, even if it is not inside the form.

pub fn name(self, to_set: impl ToString) -> Self[src]

The name associated with the group.

Note: The caption for the fieldset is given by the first element inside it.

Trait Implementations

impl Element for FieldsetBuilder[src]

impl<E> EventTarget<E> for FieldsetBuilder where
    E: GlobalEvent
[src]

impl GlobalEventHandler for FieldsetBuilder[src]

impl HtmlElement for FieldsetBuilder[src]

impl Node for FieldsetBuilder[src]

impl<Child> Parent<Child> for FieldsetBuilder where
    Child: FlowContent
[src]

impl Parent<Legend> for FieldsetBuilder[src]

Auto Trait Implementations

impl !RefUnwindSafe for FieldsetBuilder

impl !Send for FieldsetBuilder

impl !Sync for FieldsetBuilder

impl Unpin for FieldsetBuilder

impl !UnwindSafe for FieldsetBuilder

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<N> Child for N where
    N: Node
[src]

impl<T> Downcast for T where
    T: Any

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.