Struct silkenweb::elements::H2Builder[][src]

pub struct H2Builder(_);

Implementations

impl H2Builder[src]

pub fn id(self, value: impl AttributeValue<String>) -> H2Builder[src]

pub fn class(self, value: impl AttributeValue<String>) -> H2Builder[src]

impl H2Builder[src]

pub fn on_blur(
    self,
    f: impl FnMut(FocusEvent, HtmlHeadingElement) + 'static
) -> H2Builder
[src]

pub fn on_click(
    self,
    f: impl FnMut(MouseEvent, HtmlHeadingElement) + 'static
) -> H2Builder
[src]

pub fn on_change(
    self,
    f: impl FnMut(Event, HtmlHeadingElement) + 'static
) -> H2Builder
[src]

pub fn on_dblclick(
    self,
    f: impl FnMut(MouseEvent, HtmlHeadingElement) + 'static
) -> H2Builder
[src]

pub fn on_focusout(
    self,
    f: impl FnMut(FocusEvent, HtmlHeadingElement) + 'static
) -> H2Builder
[src]

pub fn on_input(
    self,
    f: impl FnMut(InputEvent, HtmlHeadingElement) + 'static
) -> H2Builder
[src]

pub fn on_keydown(
    self,
    f: impl FnMut(KeyboardEvent, HtmlHeadingElement) + 'static
) -> H2Builder
[src]

pub fn on_keyup(
    self,
    f: impl FnMut(KeyboardEvent, HtmlHeadingElement) + 'static
) -> H2Builder
[src]

pub fn effect(self, f: impl Effect<HtmlHeadingElement>) -> H2Builder[src]

impl H2Builder[src]

pub fn text(self, child: impl Text) -> H2Builder[src]

pub fn child<Child>(self, c: Child) -> H2Builder where
    Child: Into<Element>, 
[src]

Trait Implementations

impl Builder for H2Builder[src]

type Target = H2

impl DomElement for H2Builder[src]

impl From<H2Builder> for ElementBuilder[src]

impl From<H2Builder> for Element[src]

Auto Trait Implementations

impl !RefUnwindSafe for H2Builder

impl !Send for H2Builder

impl !Sync for H2Builder

impl Unpin for H2Builder

impl !UnwindSafe for H2Builder

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<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.