Struct silkenweb::elements::TdBuilder[][src]

pub struct TdBuilder(_);

Implementations

impl TdBuilder[src]

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

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

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

This attribute contains a non-negative integer value that indicates for how many columns the cell extends. Its default value is 1. Values higher than 1000 will be considered as incorrect and will be set to the default value (1).

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

This attribute contains a list of space-separated strings, each corresponding to the id attribute of the <th> elements that apply to this element.

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

This attribute contains a non-negative integer value that indicates for how many rows the cell extends. Its default value is 1; if its value is set to 0, it extends until the end of the table section (<thead>, <tbody>, <tfoot>, even if implicitly defined), that the cell belongs to. Values higher than 65534 are clipped down to 65534.

impl TdBuilder[src]

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

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

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

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

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

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

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

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

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

impl TdBuilder[src]

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

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

Trait Implementations

impl Builder for TdBuilder[src]

type Target = Td

impl DomElement for TdBuilder[src]

impl From<TdBuilder> for Element[src]

impl From<TdBuilder> for ElementBuilder[src]

Auto Trait Implementations

impl !RefUnwindSafe for TdBuilder

impl !Send for TdBuilder

impl !Sync for TdBuilder

impl Unpin for TdBuilder

impl !UnwindSafe for TdBuilder

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.