Struct web_sys::HtmlFrameElement
source · #[repr(transparent)]pub struct HtmlFrameElement { /* private fields */ }
Expand description
The HTMLFrameElement
object
This API requires the following crate features to be activated: HtmlFrameElement
Implementations§
source§impl HtmlFrameElement
impl HtmlFrameElement
source§impl HtmlFrameElement
impl HtmlFrameElement
source§impl HtmlFrameElement
impl HtmlFrameElement
source§impl HtmlFrameElement
impl HtmlFrameElement
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: HtmlFrameElement
source§impl HtmlFrameElement
impl HtmlFrameElement
source§impl HtmlFrameElement
impl HtmlFrameElement
source§impl HtmlFrameElement
impl HtmlFrameElement
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: HtmlFrameElement
source§impl HtmlFrameElement
impl HtmlFrameElement
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: HtmlFrameElement
source§impl HtmlFrameElement
impl HtmlFrameElement
source§impl HtmlFrameElement
impl HtmlFrameElement
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: HtmlFrameElement
source§impl HtmlFrameElement
impl HtmlFrameElement
source§impl HtmlFrameElement
impl HtmlFrameElement
sourcepub fn set_no_resize(&self, no_resize: bool)
pub fn set_no_resize(&self, no_resize: bool)
The noResize
setter
This API requires the following crate features to be activated: HtmlFrameElement
source§impl HtmlFrameElement
impl HtmlFrameElement
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
, HtmlFrameElement
source§impl HtmlFrameElement
impl HtmlFrameElement
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: HtmlFrameElement
, Window
source§impl HtmlFrameElement
impl HtmlFrameElement
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: HtmlFrameElement
source§impl HtmlFrameElement
impl HtmlFrameElement
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: HtmlFrameElement
source§impl HtmlFrameElement
impl HtmlFrameElement
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: HtmlFrameElement
source§impl HtmlFrameElement
impl HtmlFrameElement
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: HtmlFrameElement
Trait Implementations§
source§impl AsRef<Element> for HtmlFrameElement
impl AsRef<Element> for HtmlFrameElement
source§impl AsRef<EventTarget> for HtmlFrameElement
impl AsRef<EventTarget> for HtmlFrameElement
source§fn as_ref(&self) -> &EventTarget
fn as_ref(&self) -> &EventTarget
source§impl AsRef<HtmlElement> for HtmlFrameElement
impl AsRef<HtmlElement> for HtmlFrameElement
source§fn as_ref(&self) -> &HtmlElement
fn as_ref(&self) -> &HtmlElement
source§impl AsRef<JsValue> for HtmlFrameElement
impl AsRef<JsValue> for HtmlFrameElement
source§impl AsRef<Node> for HtmlFrameElement
impl AsRef<Node> for HtmlFrameElement
source§impl AsRef<Object> for HtmlFrameElement
impl AsRef<Object> for HtmlFrameElement
source§impl Clone for HtmlFrameElement
impl Clone for HtmlFrameElement
source§fn clone(&self) -> HtmlFrameElement
fn clone(&self) -> HtmlFrameElement
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HtmlFrameElement
impl Debug for HtmlFrameElement
source§impl From<HtmlFrameElement> for Element
impl From<HtmlFrameElement> for Element
source§fn from(obj: HtmlFrameElement) -> Element
fn from(obj: HtmlFrameElement) -> Element
source§impl From<HtmlFrameElement> for EventTarget
impl From<HtmlFrameElement> for EventTarget
source§fn from(obj: HtmlFrameElement) -> EventTarget
fn from(obj: HtmlFrameElement) -> EventTarget
source§impl From<HtmlFrameElement> for HtmlElement
impl From<HtmlFrameElement> for HtmlElement
source§fn from(obj: HtmlFrameElement) -> HtmlElement
fn from(obj: HtmlFrameElement) -> HtmlElement
source§impl From<HtmlFrameElement> for JsValue
impl From<HtmlFrameElement> for JsValue
source§fn from(obj: HtmlFrameElement) -> JsValue
fn from(obj: HtmlFrameElement) -> JsValue
source§impl From<HtmlFrameElement> for Node
impl From<HtmlFrameElement> for Node
source§fn from(obj: HtmlFrameElement) -> Node
fn from(obj: HtmlFrameElement) -> Node
source§impl From<HtmlFrameElement> for Object
impl From<HtmlFrameElement> for Object
source§fn from(obj: HtmlFrameElement) -> Object
fn from(obj: HtmlFrameElement) -> Object
source§impl From<JsValue> for HtmlFrameElement
impl From<JsValue> for HtmlFrameElement
source§fn from(obj: JsValue) -> HtmlFrameElement
fn from(obj: JsValue) -> HtmlFrameElement
source§impl FromWasmAbi for HtmlFrameElement
impl FromWasmAbi for HtmlFrameElement
source§impl<'a> IntoWasmAbi for &'a HtmlFrameElement
impl<'a> IntoWasmAbi for &'a HtmlFrameElement
source§impl IntoWasmAbi for HtmlFrameElement
impl IntoWasmAbi for HtmlFrameElement
source§impl JsCast for HtmlFrameElement
impl JsCast for HtmlFrameElement
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 OptionFromWasmAbi for HtmlFrameElement
impl OptionFromWasmAbi for HtmlFrameElement
source§impl<'a> OptionIntoWasmAbi for &'a HtmlFrameElement
impl<'a> OptionIntoWasmAbi for &'a HtmlFrameElement
source§impl OptionIntoWasmAbi for HtmlFrameElement
impl OptionIntoWasmAbi for HtmlFrameElement
source§impl RefFromWasmAbi for HtmlFrameElement
impl RefFromWasmAbi for HtmlFrameElement
§type Abi = <JsValue as RefFromWasmAbi>::Abi
type Abi = <JsValue as RefFromWasmAbi>::Abi
Self
are recovered from.§type Anchor = ManuallyDrop<HtmlFrameElement>
type Anchor = ManuallyDrop<HtmlFrameElement>
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 HtmlFrameElement
impl Send for HtmlFrameElement
impl Sync for HtmlFrameElement
impl Unpin for HtmlFrameElement
impl UnwindSafe for HtmlFrameElement
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