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

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

The HTML <colgroup> element defines a group of columns within a table.

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

Implementations

impl ColgroupBuilder[src]

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

Initialize the element with all of the attributes so far.

impl ColgroupBuilder[src]

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

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

Note: This attribute is applied on the attributes of the column group, it has no effect on the CSS styling rules associated with it or, even more, to the cells of the column's members of the group.

The span attribute is not permitted if there are one or more <col> elements within the <colgroup>.

Trait Implementations

impl ElementBuilder for ColgroupBuilder[src]

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

impl GlobalEventHandler for ColgroupBuilder[src]

impl HtmlElementBuilder for ColgroupBuilder[src]

impl NodeWrapper for ColgroupBuilder[src]

impl Parent<Col> for ColgroupBuilder[src]

Auto Trait Implementations

impl !RefUnwindSafe for ColgroupBuilder[src]

impl !Send for ColgroupBuilder[src]

impl !Sync for ColgroupBuilder[src]

impl Unpin for ColgroupBuilder[src]

impl !UnwindSafe for ColgroupBuilder[src]

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: NodeWrapper
[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.