pub trait HTMLIFrameElementMethods<D>where
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>,
) -> Result<(), Error>;
fn Name(&self) -> DOMString;
fn SetName(&self, cx: &mut JSContext, value: DOMString);
fn Sandbox(
&self,
cx: &mut JSContext,
) -> Root<Dom<<D as DomTypes>::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<Root<Dom<<D as DomTypes>::Document>>>;
fn GetContentWindow(
&self,
) -> Option<Root<Dom<<D as DomTypes>::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>, ) -> Result<(), Error>
fn Name(&self) -> DOMString
fn SetName(&self, cx: &mut JSContext, value: DOMString)
fn Sandbox( &self, cx: &mut JSContext, ) -> Root<Dom<<D as DomTypes>::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<Root<Dom<<D as DomTypes>::Document>>>
fn GetContentWindow(&self) -> Option<Root<Dom<<D as DomTypes>::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".