Struct moxie_dom::elements::embedding::ParamBuilder[][src]

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

The HTML <param> element defines parameters for an <object> element.

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


impl ParamBuilder[src]

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

Name of the parameter.

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

Specifies the value of the parameter.

Trait Implementations

impl ElementBuilder for ParamBuilder[src]

impl<E> EventTarget<E> for ParamBuilder where
    E: GlobalEvent

impl GlobalEventHandler for ParamBuilder[src]

impl HtmlElementBuilder for ParamBuilder[src]

impl NodeBuilder for ParamBuilder[src]

type Output = Param

The type of the DOM node

fn build(self) -> Param[src]

Initialize the element with all of the attributes so far.

impl NodeWrapper for ParamBuilder[src]

Auto Trait Implementations

impl !RefUnwindSafe for ParamBuilder

impl !Send for ParamBuilder

impl !Sync for ParamBuilder

impl Unpin for ParamBuilder

impl !UnwindSafe for ParamBuilder

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<N> Child for N where
    N: NodeWrapper

impl<T> Downcast for T where
    T: Any

impl<T> Erased for T

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.