Struct silkenweb::elements::BdoBuilder[][src]

pub struct BdoBuilder(_);

Implementations

impl BdoBuilder[src]

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

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

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

The direction in which text should be rendered in this element’s contents. Possible values are:

  • ltr: Indicates that the text should go in a left-to-right direction.
  • rtl: Indicates that the text should go in a right-to-left direction.

impl BdoBuilder[src]

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

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

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

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

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

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

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

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

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

impl BdoBuilder[src]

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

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

Trait Implementations

impl Builder for BdoBuilder[src]

type Target = Bdo

impl DomElement for BdoBuilder[src]

impl From<BdoBuilder> for Element[src]

impl From<BdoBuilder> for ElementBuilder[src]

Auto Trait Implementations

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.