Struct web_sys::HtmlIFrameElement
source · #[repr(transparent)]pub struct HtmlIFrameElement { /* private fields */ }
Expand description
The HTMLIFrameElement
object
This API requires the following crate features to be activated: HtmlIFrameElement
Implementations§
source§impl HtmlIFrameElement
impl HtmlIFrameElement
sourcepub fn get_svg_document(&self) -> Option<Document>
pub fn get_svg_document(&self) -> Option<Document>
The getSVGDocument()
method
This API requires the following crate features to be activated: Document
, HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
sourcepub fn set_srcdoc(&self, srcdoc: &str)
pub fn set_srcdoc(&self, srcdoc: &str)
The srcdoc
setter
This API requires the following crate features to be activated: HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
sourcepub fn sandbox(&self) -> DomTokenList
pub fn sandbox(&self) -> DomTokenList
The sandbox
getter
This API requires the following crate features to be activated: DomTokenList
, HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
sourcepub fn allow_fullscreen(&self) -> bool
pub fn allow_fullscreen(&self) -> bool
The allowFullscreen
getter
This API requires the following crate features to be activated: HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
sourcepub fn set_allow_fullscreen(&self, allow_fullscreen: bool)
pub fn set_allow_fullscreen(&self, allow_fullscreen: bool)
The allowFullscreen
setter
This API requires the following crate features to be activated: HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
sourcepub fn allow_payment_request(&self) -> bool
pub fn allow_payment_request(&self) -> bool
The allowPaymentRequest
getter
This API requires the following crate features to be activated: HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
sourcepub fn set_allow_payment_request(&self, allow_payment_request: bool)
pub fn set_allow_payment_request(&self, allow_payment_request: bool)
The allowPaymentRequest
setter
This API requires the following crate features to be activated: HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
sourcepub fn set_height(&self, height: &str)
pub fn set_height(&self, height: &str)
The height
setter
This API requires the following crate features to be activated: HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
sourcepub fn referrer_policy(&self) -> String
pub fn referrer_policy(&self) -> String
The referrerPolicy
getter
This API requires the following crate features to be activated: HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
sourcepub fn set_referrer_policy(&self, referrer_policy: &str)
pub fn set_referrer_policy(&self, referrer_policy: &str)
The referrerPolicy
setter
This API requires the following crate features to be activated: HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
sourcepub fn content_document(&self) -> Option<Document>
pub fn content_document(&self) -> Option<Document>
The contentDocument
getter
This API requires the following crate features to be activated: Document
, HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
sourcepub fn content_window(&self) -> Option<Window>
pub fn content_window(&self) -> Option<Window>
The contentWindow
getter
This API requires the following crate features to be activated: HtmlIFrameElement
, Window
source§impl HtmlIFrameElement
impl HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
sourcepub fn set_scrolling(&self, scrolling: &str)
pub fn set_scrolling(&self, scrolling: &str)
The scrolling
setter
This API requires the following crate features to be activated: HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
sourcepub fn frame_border(&self) -> String
pub fn frame_border(&self) -> String
The frameBorder
getter
This API requires the following crate features to be activated: HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
sourcepub fn set_frame_border(&self, frame_border: &str)
pub fn set_frame_border(&self, frame_border: &str)
The frameBorder
setter
This API requires the following crate features to be activated: HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
sourcepub fn set_long_desc(&self, long_desc: &str)
pub fn set_long_desc(&self, long_desc: &str)
The longDesc
setter
This API requires the following crate features to be activated: HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
sourcepub fn margin_height(&self) -> String
pub fn margin_height(&self) -> String
The marginHeight
getter
This API requires the following crate features to be activated: HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
sourcepub fn set_margin_height(&self, margin_height: &str)
pub fn set_margin_height(&self, margin_height: &str)
The marginHeight
setter
This API requires the following crate features to be activated: HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
sourcepub fn margin_width(&self) -> String
pub fn margin_width(&self) -> String
The marginWidth
getter
This API requires the following crate features to be activated: HtmlIFrameElement
source§impl HtmlIFrameElement
impl HtmlIFrameElement
sourcepub fn set_margin_width(&self, margin_width: &str)
pub fn set_margin_width(&self, margin_width: &str)
The marginWidth
setter
This API requires the following crate features to be activated: HtmlIFrameElement
Trait Implementations§
source§impl AsRef<Element> for HtmlIFrameElement
impl AsRef<Element> for HtmlIFrameElement
source§impl AsRef<EventTarget> for HtmlIFrameElement
impl AsRef<EventTarget> for HtmlIFrameElement
source§fn as_ref(&self) -> &EventTarget
fn as_ref(&self) -> &EventTarget
source§impl AsRef<HtmlElement> for HtmlIFrameElement
impl AsRef<HtmlElement> for HtmlIFrameElement
source§fn as_ref(&self) -> &HtmlElement
fn as_ref(&self) -> &HtmlElement
source§impl AsRef<JsValue> for HtmlIFrameElement
impl AsRef<JsValue> for HtmlIFrameElement
source§impl AsRef<Node> for HtmlIFrameElement
impl AsRef<Node> for HtmlIFrameElement
source§impl AsRef<Object> for HtmlIFrameElement
impl AsRef<Object> for HtmlIFrameElement
source§impl Clone for HtmlIFrameElement
impl Clone for HtmlIFrameElement
source§fn clone(&self) -> HtmlIFrameElement
fn clone(&self) -> HtmlIFrameElement
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HtmlIFrameElement
impl Debug for HtmlIFrameElement
source§impl From<HtmlIFrameElement> for Element
impl From<HtmlIFrameElement> for Element
source§fn from(obj: HtmlIFrameElement) -> Element
fn from(obj: HtmlIFrameElement) -> Element
source§impl From<HtmlIFrameElement> for EventTarget
impl From<HtmlIFrameElement> for EventTarget
source§fn from(obj: HtmlIFrameElement) -> EventTarget
fn from(obj: HtmlIFrameElement) -> EventTarget
source§impl From<HtmlIFrameElement> for HtmlElement
impl From<HtmlIFrameElement> for HtmlElement
source§fn from(obj: HtmlIFrameElement) -> HtmlElement
fn from(obj: HtmlIFrameElement) -> HtmlElement
source§impl From<HtmlIFrameElement> for JsValue
impl From<HtmlIFrameElement> for JsValue
source§fn from(obj: HtmlIFrameElement) -> JsValue
fn from(obj: HtmlIFrameElement) -> JsValue
source§impl From<HtmlIFrameElement> for Node
impl From<HtmlIFrameElement> for Node
source§fn from(obj: HtmlIFrameElement) -> Node
fn from(obj: HtmlIFrameElement) -> Node
source§impl From<HtmlIFrameElement> for Object
impl From<HtmlIFrameElement> for Object
source§fn from(obj: HtmlIFrameElement) -> Object
fn from(obj: HtmlIFrameElement) -> Object
source§impl From<JsValue> for HtmlIFrameElement
impl From<JsValue> for HtmlIFrameElement
source§fn from(obj: JsValue) -> HtmlIFrameElement
fn from(obj: JsValue) -> HtmlIFrameElement
source§impl FromWasmAbi for HtmlIFrameElement
impl FromWasmAbi for HtmlIFrameElement
source§impl<'a> IntoWasmAbi for &'a HtmlIFrameElement
impl<'a> IntoWasmAbi for &'a HtmlIFrameElement
source§impl IntoWasmAbi for HtmlIFrameElement
impl IntoWasmAbi for HtmlIFrameElement
source§impl JsCast for HtmlIFrameElement
impl JsCast for HtmlIFrameElement
source§fn instanceof(val: &JsValue) -> bool
fn instanceof(val: &JsValue) -> bool
instanceof
check to see whether the JsValue
provided is an instance of this type. Read moresource§fn unchecked_from_js(val: JsValue) -> Self
fn unchecked_from_js(val: JsValue) -> Self
source§fn unchecked_from_js_ref(val: &JsValue) -> &Self
fn unchecked_from_js_ref(val: &JsValue) -> &Self
source§fn is_instance_of<T>(&self) -> boolwhere
T: JsCast,
fn is_instance_of<T>(&self) -> boolwhere
T: JsCast,
T
. Read moresource§fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
T
. Read moresource§fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
T
. Read moresource§fn unchecked_into<T>(self) -> Twhere
T: JsCast,
fn unchecked_into<T>(self) -> Twhere
T: JsCast,
source§impl<'a> OptionIntoWasmAbi for &'a HtmlIFrameElement
impl<'a> OptionIntoWasmAbi for &'a HtmlIFrameElement
source§impl RefFromWasmAbi for HtmlIFrameElement
impl RefFromWasmAbi for HtmlIFrameElement
§type Abi = <JsValue as RefFromWasmAbi>::Abi
type Abi = <JsValue as RefFromWasmAbi>::Abi
Self
are recovered from.§type Anchor = ManuallyDrop<HtmlIFrameElement>
type Anchor = ManuallyDrop<HtmlIFrameElement>
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous. Read moreAuto Trait Implementations§
impl RefUnwindSafe for HtmlIFrameElement
impl Send for HtmlIFrameElement
impl Sync for HtmlIFrameElement
impl Unpin for HtmlIFrameElement
impl UnwindSafe for HtmlIFrameElement
Blanket Implementations§
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
IntoWasmAbi::Abi
source§fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more