[−][src]Struct web_sys::SvgForeignObjectElement
The SVGForeignObjectElement object
This API requires the following crate features to be activated: SvgForeignObjectElement
Methods
impl SvgForeignObjectElement[src]
impl SvgForeignObjectElementpub fn x(&self) -> SvgAnimatedLength | [src] |
The x getter
This API requires the following crate features to be activated: SvgAnimatedLength, SvgForeignObjectElement
impl SvgForeignObjectElement[src]
impl SvgForeignObjectElementpub fn y(&self) -> SvgAnimatedLength | [src] |
The y getter
This API requires the following crate features to be activated: SvgAnimatedLength, SvgForeignObjectElement
impl SvgForeignObjectElement[src]
impl SvgForeignObjectElementpub fn width(&self) -> SvgAnimatedLength | [src] |
The width getter
This API requires the following crate features to be activated: SvgAnimatedLength, SvgForeignObjectElement
impl SvgForeignObjectElement[src]
impl SvgForeignObjectElementpub fn height(&self) -> SvgAnimatedLength | [src] |
The height getter
This API requires the following crate features to be activated: SvgAnimatedLength, SvgForeignObjectElement
Methods from Deref<Target = SvgGraphicsElement>
pub fn get_b_box(&self) -> Result<SvgRect, JsValue> | [src] |
The getBBox() method
This API requires the following crate features to be activated: SvgGraphicsElement, SvgRect
pub fn get_b_box_with_a_options( | [src] |
The getBBox() method
This API requires the following crate features to be activated: SvgBoundingBoxOptions, SvgGraphicsElement, SvgRect
pub fn get_ctm(&self) -> Option<SvgMatrix> | [src] |
The getCTM() method
This API requires the following crate features to be activated: SvgGraphicsElement, SvgMatrix
pub fn get_screen_ctm(&self) -> Option<SvgMatrix> | [src] |
The getScreenCTM() method
This API requires the following crate features to be activated: SvgGraphicsElement, SvgMatrix
pub fn get_transform_to_element( | [src] |
The getTransformToElement() method
This API requires the following crate features to be activated: SvgGraphicsElement, SvgMatrix
pub fn transform(&self) -> SvgAnimatedTransformList | [src] |
The transform getter
This API requires the following crate features to be activated: SvgAnimatedTransformList, SvgGraphicsElement
pub fn nearest_viewport_element(&self) -> Option<SvgElement> | [src] |
The nearestViewportElement getter
This API requires the following crate features to be activated: SvgElement, SvgGraphicsElement
pub fn farthest_viewport_element(&self) -> Option<SvgElement> | [src] |
The farthestViewportElement getter
This API requires the following crate features to be activated: SvgElement, SvgGraphicsElement
pub fn has_extension(&self, extension: &str) -> bool | [src] |
The hasExtension() method
This API requires the following crate features to be activated: SvgGraphicsElement
pub fn required_features(&self) -> SvgStringList | [src] |
The requiredFeatures getter
This API requires the following crate features to be activated: SvgGraphicsElement, SvgStringList
pub fn required_extensions(&self) -> SvgStringList | [src] |
The requiredExtensions getter
This API requires the following crate features to be activated: SvgGraphicsElement, SvgStringList
pub fn system_language(&self) -> SvgStringList | [src] |
The systemLanguage getter
This API requires the following crate features to be activated: SvgGraphicsElement, SvgStringList
Trait Implementations
impl From<JsValue> for SvgForeignObjectElement[src]
impl From<JsValue> for SvgForeignObjectElementfn from(obj: JsValue) -> SvgForeignObjectElement | [src] |
impl From<SvgForeignObjectElement> for JsValue[src]
impl From<SvgForeignObjectElement> for JsValuefn from(obj: SvgForeignObjectElement) -> JsValue | [src] |
impl From<SvgForeignObjectElement> for SvgGraphicsElement[src]
impl From<SvgForeignObjectElement> for SvgGraphicsElementfn from(obj: SvgForeignObjectElement) -> SvgGraphicsElement | [src] |
impl From<SvgForeignObjectElement> for SvgElement[src]
impl From<SvgForeignObjectElement> for SvgElementfn from(obj: SvgForeignObjectElement) -> SvgElement | [src] |
impl From<SvgForeignObjectElement> for Element[src]
impl From<SvgForeignObjectElement> for Elementfn from(obj: SvgForeignObjectElement) -> Element | [src] |
impl From<SvgForeignObjectElement> for Node[src]
impl From<SvgForeignObjectElement> for Nodefn from(obj: SvgForeignObjectElement) -> Node | [src] |
impl From<SvgForeignObjectElement> for EventTarget[src]
impl From<SvgForeignObjectElement> for EventTargetfn from(obj: SvgForeignObjectElement) -> EventTarget | [src] |
impl From<SvgForeignObjectElement> for Object[src]
impl From<SvgForeignObjectElement> for Objectfn from(obj: SvgForeignObjectElement) -> Object | [src] |
impl AsRef<JsValue> for SvgForeignObjectElement[src]
impl AsRef<JsValue> for SvgForeignObjectElementimpl AsRef<SvgGraphicsElement> for SvgForeignObjectElement[src]
impl AsRef<SvgGraphicsElement> for SvgForeignObjectElementfn as_ref(&self) -> &SvgGraphicsElement | [src] |
impl AsRef<SvgElement> for SvgForeignObjectElement[src]
impl AsRef<SvgElement> for SvgForeignObjectElementfn as_ref(&self) -> &SvgElement | [src] |
impl AsRef<Element> for SvgForeignObjectElement[src]
impl AsRef<Element> for SvgForeignObjectElementimpl AsRef<Node> for SvgForeignObjectElement[src]
impl AsRef<Node> for SvgForeignObjectElementimpl AsRef<EventTarget> for SvgForeignObjectElement[src]
impl AsRef<EventTarget> for SvgForeignObjectElementfn as_ref(&self) -> &EventTarget | [src] |
impl AsRef<Object> for SvgForeignObjectElement[src]
impl AsRef<Object> for SvgForeignObjectElementimpl Clone for SvgForeignObjectElement[src]
impl Clone for SvgForeignObjectElementfn clone(&self) -> SvgForeignObjectElement | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source. Read more
impl Debug for SvgForeignObjectElement[src]
impl Debug for SvgForeignObjectElementimpl Deref for SvgForeignObjectElement[src]
impl Deref for SvgForeignObjectElementtype Target = SvgGraphicsElement
The resulting type after dereferencing.
fn deref(&self) -> &SvgGraphicsElement | [src] |
impl FromWasmAbi for SvgForeignObjectElement[src]
impl FromWasmAbi for SvgForeignObjectElementtype Abi = <JsValue as FromWasmAbi>::Abi
The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more
unsafe fn from_abi(js: Self::Abi, extra: &mut dyn Stack) -> Self | [src] |
impl IntoWasmAbi for SvgForeignObjectElement[src]
impl IntoWasmAbi for SvgForeignObjectElementtype Abi = <JsValue as IntoWasmAbi>::Abi
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self, extra: &mut dyn Stack) -> Self::Abi | [src] |
impl<'a> IntoWasmAbi for &'a SvgForeignObjectElement[src]
impl<'a> IntoWasmAbi for &'a SvgForeignObjectElementtype Abi = <&'a JsValue as IntoWasmAbi>::Abi
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self, extra: &mut dyn Stack) -> Self::Abi | [src] |
impl WasmDescribe for SvgForeignObjectElement[src]
impl WasmDescribe for SvgForeignObjectElementimpl OptionIntoWasmAbi for SvgForeignObjectElement[src]
impl OptionIntoWasmAbi for SvgForeignObjectElementimpl<'a> OptionIntoWasmAbi for &'a SvgForeignObjectElement[src]
impl<'a> OptionIntoWasmAbi for &'a SvgForeignObjectElementimpl OptionFromWasmAbi for SvgForeignObjectElement[src]
impl OptionFromWasmAbi for SvgForeignObjectElementimpl RefFromWasmAbi for SvgForeignObjectElement[src]
impl RefFromWasmAbi for SvgForeignObjectElementtype Abi = <JsValue as RefFromWasmAbi>::Abi
The wasm ABI type references to Self are recovered from.
type Anchor = ManuallyDrop<SvgForeignObjectElement>
The type that holds the reference to 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 more
unsafe fn ref_from_abi(js: Self::Abi, extra: &mut dyn Stack) -> Self::Anchor | [src] |
impl JsCast for SvgForeignObjectElement[src]
impl JsCast for SvgForeignObjectElementfn instanceof(val: &JsValue) -> bool | [src] |
fn unchecked_from_js(val: JsValue) -> Self | [src] |
fn unchecked_from_js_ref(val: &JsValue) -> &Self | [src] |
fn is_instance_of<T>(&self) -> bool where | [src] |
Test whether this JS value is an instance of the type T. Read more
fn dyn_into<T>(self) -> Result<T, Self> where | [src] |
Performs a dynamic cast (checked at runtime) of this value into the target type T. Read more
fn dyn_ref<T>(&self) -> Option<&T> where | [src] |
Performs a dynamic cast (checked at runtime) of this value into the target type T. Read more
fn unchecked_into<T>(self) -> T where | [src] |
Performs a zero-cost unchecked cast into the specified type. Read more
fn unchecked_ref<T>(&self) -> &T where | [src] |
Performs a zero-cost unchecked cast into a reference to the specified type. Read more
Auto Trait Implementations
impl !Send for SvgForeignObjectElement
impl !Send for SvgForeignObjectElementimpl !Sync for SvgForeignObjectElement
impl !Sync for SvgForeignObjectElementBlanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId | [src] |
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi, [src]
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi, type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi | [src] |