pub trait HTMLIFrameElementMethods<D: DomTypes> {
Show 23 methods
// Required methods
fn Src(&self) -> USVString;
fn SetSrc(&self, cx: &mut JSContext, value: USVString);
fn Srcdoc(&self) -> TrustedHTMLOrString<D>;
fn SetSrcdoc(
&self,
cx: &mut JSContext,
value: TrustedHTMLOrString<D>,
) -> ErrorResult;
fn Name(&self) -> DOMString;
fn SetName(&self, cx: &mut JSContext, value: DOMString);
fn Sandbox(&self, cx: &mut JSContext) -> DomRoot<D::DOMTokenList>;
fn AllowFullscreen(&self) -> bool;
fn SetAllowFullscreen(&self, cx: &mut JSContext, value: bool);
fn Width(&self) -> DOMString;
fn SetWidth(&self, cx: &mut JSContext, value: DOMString);
fn Height(&self) -> DOMString;
fn SetHeight(&self, cx: &mut JSContext, value: DOMString);
fn ReferrerPolicy(&self) -> DOMString;
fn SetReferrerPolicy(&self, cx: &mut JSContext, value: DOMString);
fn Loading(&self) -> DOMString;
fn SetLoading(&self, cx: &mut JSContext, value: DOMString);
fn GetContentDocument(&self) -> Option<DomRoot<D::Document>>;
fn GetContentWindow(&self) -> Option<DomRoot<D::WindowProxy>>;
fn FrameBorder(&self) -> DOMString;
fn SetFrameBorder(&self, cx: &mut JSContext, value: DOMString);
fn LongDesc(&self) -> USVString;
fn SetLongDesc(&self, cx: &mut JSContext, value: USVString);
}Required Methods§
fn Src(&self) -> USVString
fn SetSrc(&self, cx: &mut JSContext, value: USVString)
fn Srcdoc(&self) -> TrustedHTMLOrString<D>
fn SetSrcdoc( &self, cx: &mut JSContext, value: TrustedHTMLOrString<D>, ) -> ErrorResult
fn Name(&self) -> DOMString
fn SetName(&self, cx: &mut JSContext, value: DOMString)
fn Sandbox(&self, cx: &mut JSContext) -> DomRoot<D::DOMTokenList>
fn AllowFullscreen(&self) -> bool
fn SetAllowFullscreen(&self, cx: &mut JSContext, value: bool)
fn Width(&self) -> DOMString
fn SetWidth(&self, cx: &mut JSContext, value: DOMString)
fn Height(&self) -> DOMString
fn SetHeight(&self, cx: &mut JSContext, value: DOMString)
fn ReferrerPolicy(&self) -> DOMString
fn SetReferrerPolicy(&self, cx: &mut JSContext, value: DOMString)
fn Loading(&self) -> DOMString
fn SetLoading(&self, cx: &mut JSContext, value: DOMString)
fn GetContentDocument(&self) -> Option<DomRoot<D::Document>>
fn GetContentWindow(&self) -> Option<DomRoot<D::WindowProxy>>
fn FrameBorder(&self) -> DOMString
fn SetFrameBorder(&self, cx: &mut JSContext, value: DOMString)
fn LongDesc(&self) -> USVString
fn SetLongDesc(&self, cx: &mut JSContext, value: USVString)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".