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

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

The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.

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


impl ColBuilder[src]

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

Initialize the element with all of the attributes so far.

impl ColBuilder[src]

pub fn span(self, to_set: impl ToString) -> Self[src]

This attribute contains a positive integer indicating the number of consecutive columns the element spans. If not present, its default value is 1.

Trait Implementations

impl Element for ColBuilder[src]

impl<E> EventTarget<E> for ColBuilder where
    E: GlobalEvent

impl GlobalEventHandler for ColBuilder[src]

impl HtmlElement for ColBuilder[src]

impl Node for ColBuilder[src]

Auto Trait Implementations

impl !RefUnwindSafe for ColBuilder

impl !Send for ColBuilder

impl !Sync for ColBuilder

impl Unpin for ColBuilder

impl !UnwindSafe for ColBuilder

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<N> Child for N where
    N: Node

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>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.