Struct silkenweb::elements::BrBuilder[][src]

pub struct BrBuilder(_);

Implementations

impl BrBuilder[src]

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

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

impl BrBuilder[src]

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

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

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

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

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

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

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

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

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

Trait Implementations

impl Builder for BrBuilder[src]

type Target = Br

impl DomElement for BrBuilder[src]

impl From<BrBuilder> for ElementBuilder[src]

impl From<BrBuilder> for Element[src]

Auto Trait Implementations

impl !RefUnwindSafe for BrBuilder

impl !Send for BrBuilder

impl !Sync for BrBuilder

impl Unpin for BrBuilder

impl !UnwindSafe for BrBuilder

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.