Struct silkenweb::elements::InsBuilder[][src]

pub struct InsBuilder(_);

Implementations

impl InsBuilder[src]

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

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

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

A URI for a resource that explains the change (for example, meeting minutes).

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

This attribute indicates the time and date of the change and must be a valid date string with an optional time. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see Date strings. The format of the string if it includes both date and time is covered in Local date and time strings.

impl InsBuilder[src]

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

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

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

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

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

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

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

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

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

impl InsBuilder[src]

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

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

Trait Implementations

impl Builder for InsBuilder[src]

type Target = Ins

impl DomElement for InsBuilder[src]

impl From<InsBuilder> for Element[src]

impl From<InsBuilder> 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.