[][src]Struct moxie_dom::elements::table::TdBuilder

#[must_use = "needs to be built"]pub struct TdBuilder { /* fields omitted */ }

The HTML <td> element defines a cell of a table that contains data. It participates in the table model.

A type for initializing the element's attributes before calling build.

Implementations

impl TdBuilder[src]

pub fn build(self) -> Td[src]

Initialize the element with all of the attributes so far.

impl TdBuilder[src]

pub fn colspan(self, to_set: impl ToString) -> Self[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, to_set: impl ToString) -> Self[src]

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

pub fn rowspan(self, to_set: impl ToString) -> Self[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 (, , , even if implicitly defined), that the cell belongs to. Values higher than 65534 are clipped down to 65534.

Trait Implementations

impl Element for TdBuilder[src]

impl<E> EventTarget<E> for TdBuilder where
    E: GlobalEvent
[src]

impl GlobalEventHandler for TdBuilder[src]

impl HtmlElement for TdBuilder[src]

impl Node for TdBuilder[src]

impl<Child> Parent<Child> for TdBuilder where
    Child: FlowContent
[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<N> Child for N where
    N: Node
[src]

impl<T> Downcast for T where
    T: Any

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T> Instrument 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.