Skip to main content

HTMLTableElementMethods

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

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§