pub trait HTMLTableElementMethods<D>where
D: DomTypes,{
Show 27 methods
// Required methods
fn GetCaption(
&self,
) -> Option<Root<Dom<<D as DomTypes>::HTMLTableCaptionElement>>>;
fn SetCaption(
&self,
cx: &mut JSContext,
value: Option<&<D as DomTypes>::HTMLTableCaptionElement>,
) -> Result<(), Error>;
fn CreateCaption(
&self,
cx: &mut JSContext,
) -> Root<Dom<<D as DomTypes>::HTMLTableCaptionElement>>;
fn DeleteCaption(&self, cx: &mut JSContext);
fn GetTHead(
&self,
) -> Option<Root<Dom<<D as DomTypes>::HTMLTableSectionElement>>>;
fn SetTHead(
&self,
cx: &mut JSContext,
value: Option<&<D as DomTypes>::HTMLTableSectionElement>,
) -> Result<(), Error>;
fn CreateTHead(
&self,
cx: &mut JSContext,
) -> Root<Dom<<D as DomTypes>::HTMLTableSectionElement>>;
fn DeleteTHead(&self, cx: &mut JSContext);
fn GetTFoot(
&self,
) -> Option<Root<Dom<<D as DomTypes>::HTMLTableSectionElement>>>;
fn SetTFoot(
&self,
cx: &mut JSContext,
value: Option<&<D as DomTypes>::HTMLTableSectionElement>,
) -> Result<(), Error>;
fn CreateTFoot(
&self,
cx: &mut JSContext,
) -> Root<Dom<<D as DomTypes>::HTMLTableSectionElement>>;
fn DeleteTFoot(&self, cx: &mut JSContext);
fn TBodies(
&self,
cx: &mut JSContext,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn CreateTBody(
&self,
cx: &mut JSContext,
) -> Root<Dom<<D as DomTypes>::HTMLTableSectionElement>>;
fn Rows(
&self,
cx: &mut JSContext,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn InsertRow(
&self,
cx: &mut JSContext,
index: i32,
) -> Result<Root<Dom<<D as DomTypes>::HTMLTableRowElement>>, Error>;
fn DeleteRow(&self, cx: &mut JSContext, index: i32) -> Result<(), Error>;
fn Align(&self) -> DOMString;
fn SetAlign(&self, cx: &mut JSContext, value: DOMString);
fn Width(&self) -> DOMString;
fn SetWidth(&self, cx: &mut JSContext, value: DOMString);
fn BgColor(&self) -> DOMString;
fn SetBgColor(&self, cx: &mut JSContext, value: DOMString);
fn CellPadding(&self) -> DOMString;
fn SetCellPadding(&self, cx: &mut JSContext, value: DOMString);
fn CellSpacing(&self) -> DOMString;
fn SetCellSpacing(&self, cx: &mut JSContext, value: DOMString);
}Required Methods§
fn GetCaption( &self, ) -> Option<Root<Dom<<D as DomTypes>::HTMLTableCaptionElement>>>
fn SetCaption( &self, cx: &mut JSContext, value: Option<&<D as DomTypes>::HTMLTableCaptionElement>, ) -> Result<(), Error>
fn CreateCaption( &self, cx: &mut JSContext, ) -> Root<Dom<<D as DomTypes>::HTMLTableCaptionElement>>
fn DeleteCaption(&self, cx: &mut JSContext)
fn GetTHead( &self, ) -> Option<Root<Dom<<D as DomTypes>::HTMLTableSectionElement>>>
fn SetTHead( &self, cx: &mut JSContext, value: Option<&<D as DomTypes>::HTMLTableSectionElement>, ) -> Result<(), Error>
fn CreateTHead( &self, cx: &mut JSContext, ) -> Root<Dom<<D as DomTypes>::HTMLTableSectionElement>>
fn DeleteTHead(&self, cx: &mut JSContext)
fn GetTFoot( &self, ) -> Option<Root<Dom<<D as DomTypes>::HTMLTableSectionElement>>>
fn SetTFoot( &self, cx: &mut JSContext, value: Option<&<D as DomTypes>::HTMLTableSectionElement>, ) -> Result<(), Error>
fn CreateTFoot( &self, cx: &mut JSContext, ) -> Root<Dom<<D as DomTypes>::HTMLTableSectionElement>>
fn DeleteTFoot(&self, cx: &mut JSContext)
fn TBodies( &self, cx: &mut JSContext, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn CreateTBody( &self, cx: &mut JSContext, ) -> Root<Dom<<D as DomTypes>::HTMLTableSectionElement>>
fn Rows(&self, cx: &mut JSContext) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn InsertRow( &self, cx: &mut JSContext, index: i32, ) -> Result<Root<Dom<<D as DomTypes>::HTMLTableRowElement>>, Error>
fn DeleteRow(&self, cx: &mut JSContext, index: i32) -> Result<(), Error>
fn Align(&self) -> DOMString
fn SetAlign(&self, cx: &mut JSContext, value: DOMString)
fn Width(&self) -> DOMString
fn SetWidth(&self, cx: &mut JSContext, value: DOMString)
fn BgColor(&self) -> DOMString
fn SetBgColor(&self, cx: &mut JSContext, value: DOMString)
fn CellPadding(&self) -> DOMString
fn SetCellPadding(&self, cx: &mut JSContext, value: DOMString)
fn CellSpacing(&self) -> DOMString
fn SetCellSpacing(&self, cx: &mut JSContext, value: DOMString)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".