pub trait HTMLTableElementMethods {
Show 21 methods
// Required methods
fn GetCaption(&self) -> Option<Root<Dom<HTMLTableCaptionElement>>>;
fn SetCaption(
&self,
value: Option<&HTMLTableCaptionElement>
) -> Result<(), Error>;
fn CreateCaption(&self) -> Root<Dom<HTMLTableCaptionElement>>;
fn DeleteCaption(&self);
fn GetTHead(&self) -> Option<Root<Dom<HTMLTableSectionElement>>>;
fn SetTHead(
&self,
value: Option<&HTMLTableSectionElement>
) -> Result<(), Error>;
fn CreateTHead(&self) -> Root<Dom<HTMLTableSectionElement>>;
fn DeleteTHead(&self);
fn GetTFoot(&self) -> Option<Root<Dom<HTMLTableSectionElement>>>;
fn SetTFoot(
&self,
value: Option<&HTMLTableSectionElement>
) -> Result<(), Error>;
fn CreateTFoot(&self) -> Root<Dom<HTMLTableSectionElement>>;
fn DeleteTFoot(&self);
fn TBodies(&self) -> Root<Dom<HTMLCollection>>;
fn CreateTBody(&self) -> Root<Dom<HTMLTableSectionElement>>;
fn Rows(&self) -> Root<Dom<HTMLCollection>>;
fn InsertRow(
&self,
index: i32
) -> Result<Root<Dom<HTMLTableRowElement>>, Error>;
fn DeleteRow(&self, index: i32) -> Result<(), Error>;
fn Width(&self) -> DOMString;
fn SetWidth(&self, value: DOMString);
fn BgColor(&self) -> DOMString;
fn SetBgColor(&self, value: DOMString);
}