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

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

The HTML <progress> element displays an indicator showing the completion progress of a task, typically displayed as a progress bar.

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

Implementations

impl ProgressBuilder[src]

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

Initialize the element with all of the attributes so far.

impl ProgressBuilder[src]

pub fn max(self, to_set: f32) -> Self[src]

This attribute describes how much work the task indicated by the progress element requires. The max attribute, if present, must have a value greater than 0 and be a valid floating point number. The default value is 1.

pub fn value(self, to_set: f32) -> Self[src]

This attribute specifies how much of the task that has been completed. It must be a valid floating point number between 0 and max, or between 0 and 1 if max is omitted. If there is no value attribute, the progress bar is indeterminate; this indicates that an activity is ongoing with no indication of how long it is expected to take.

Trait Implementations

impl Element for ProgressBuilder[src]

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

impl GlobalEventHandler for ProgressBuilder[src]

impl HtmlElement for ProgressBuilder[src]

impl Node for ProgressBuilder[src]

impl<Child> Parent<Child> for ProgressBuilder where
    Child: PhrasingContent
[src]

Auto Trait Implementations

impl !RefUnwindSafe for ProgressBuilder

impl !Send for ProgressBuilder

impl !Sync for ProgressBuilder

impl Unpin for ProgressBuilder

impl !UnwindSafe for ProgressBuilder

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.