Struct web_sys::SvgEllipseElement
source · #[repr(transparent)]pub struct SvgEllipseElement { /* private fields */ }
Expand description
The SVGEllipseElement
object
This API requires the following crate features to be activated: SvgEllipseElement
Implementations§
source§impl SvgEllipseElement
impl SvgEllipseElement
sourcepub fn cx(&self) -> SvgAnimatedLength
pub fn cx(&self) -> SvgAnimatedLength
The cx
getter
This API requires the following crate features to be activated: SvgAnimatedLength
, SvgEllipseElement
source§impl SvgEllipseElement
impl SvgEllipseElement
sourcepub fn cy(&self) -> SvgAnimatedLength
pub fn cy(&self) -> SvgAnimatedLength
The cy
getter
This API requires the following crate features to be activated: SvgAnimatedLength
, SvgEllipseElement
source§impl SvgEllipseElement
impl SvgEllipseElement
sourcepub fn rx(&self) -> SvgAnimatedLength
pub fn rx(&self) -> SvgAnimatedLength
The rx
getter
This API requires the following crate features to be activated: SvgAnimatedLength
, SvgEllipseElement
source§impl SvgEllipseElement
impl SvgEllipseElement
sourcepub fn ry(&self) -> SvgAnimatedLength
pub fn ry(&self) -> SvgAnimatedLength
The ry
getter
This API requires the following crate features to be activated: SvgAnimatedLength
, SvgEllipseElement
Trait Implementations§
source§impl AsRef<Element> for SvgEllipseElement
impl AsRef<Element> for SvgEllipseElement
source§impl AsRef<EventTarget> for SvgEllipseElement
impl AsRef<EventTarget> for SvgEllipseElement
source§fn as_ref(&self) -> &EventTarget
fn as_ref(&self) -> &EventTarget
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<JsValue> for SvgEllipseElement
impl AsRef<JsValue> for SvgEllipseElement
source§impl AsRef<Node> for SvgEllipseElement
impl AsRef<Node> for SvgEllipseElement
source§impl AsRef<Object> for SvgEllipseElement
impl AsRef<Object> for SvgEllipseElement
source§impl AsRef<SvgElement> for SvgEllipseElement
impl AsRef<SvgElement> for SvgEllipseElement
source§fn as_ref(&self) -> &SvgElement
fn as_ref(&self) -> &SvgElement
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<SvgGeometryElement> for SvgEllipseElement
impl AsRef<SvgGeometryElement> for SvgEllipseElement
source§fn as_ref(&self) -> &SvgGeometryElement
fn as_ref(&self) -> &SvgGeometryElement
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<SvgGraphicsElement> for SvgEllipseElement
impl AsRef<SvgGraphicsElement> for SvgEllipseElement
source§fn as_ref(&self) -> &SvgGraphicsElement
fn as_ref(&self) -> &SvgGraphicsElement
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for SvgEllipseElement
impl Clone for SvgEllipseElement
source§fn clone(&self) -> SvgEllipseElement
fn clone(&self) -> SvgEllipseElement
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SvgEllipseElement
impl Debug for SvgEllipseElement
source§impl From<JsValue> for SvgEllipseElement
impl From<JsValue> for SvgEllipseElement
source§fn from(obj: JsValue) -> SvgEllipseElement
fn from(obj: JsValue) -> SvgEllipseElement
Converts to this type from the input type.
source§impl From<SvgEllipseElement> for Element
impl From<SvgEllipseElement> for Element
source§fn from(obj: SvgEllipseElement) -> Element
fn from(obj: SvgEllipseElement) -> Element
Converts to this type from the input type.
source§impl From<SvgEllipseElement> for EventTarget
impl From<SvgEllipseElement> for EventTarget
source§fn from(obj: SvgEllipseElement) -> EventTarget
fn from(obj: SvgEllipseElement) -> EventTarget
Converts to this type from the input type.
source§impl From<SvgEllipseElement> for JsValue
impl From<SvgEllipseElement> for JsValue
source§fn from(obj: SvgEllipseElement) -> JsValue
fn from(obj: SvgEllipseElement) -> JsValue
Converts to this type from the input type.
source§impl From<SvgEllipseElement> for Node
impl From<SvgEllipseElement> for Node
source§fn from(obj: SvgEllipseElement) -> Node
fn from(obj: SvgEllipseElement) -> Node
Converts to this type from the input type.
source§impl From<SvgEllipseElement> for Object
impl From<SvgEllipseElement> for Object
source§fn from(obj: SvgEllipseElement) -> Object
fn from(obj: SvgEllipseElement) -> Object
Converts to this type from the input type.
source§impl From<SvgEllipseElement> for SvgElement
impl From<SvgEllipseElement> for SvgElement
source§fn from(obj: SvgEllipseElement) -> SvgElement
fn from(obj: SvgEllipseElement) -> SvgElement
Converts to this type from the input type.
source§impl From<SvgEllipseElement> for SvgGeometryElement
impl From<SvgEllipseElement> for SvgGeometryElement
source§fn from(obj: SvgEllipseElement) -> SvgGeometryElement
fn from(obj: SvgEllipseElement) -> SvgGeometryElement
Converts to this type from the input type.
source§impl From<SvgEllipseElement> for SvgGraphicsElement
impl From<SvgEllipseElement> for SvgGraphicsElement
source§fn from(obj: SvgEllipseElement) -> SvgGraphicsElement
fn from(obj: SvgEllipseElement) -> SvgGraphicsElement
Converts to this type from the input type.
source§impl FromWasmAbi for SvgEllipseElement
impl FromWasmAbi for SvgEllipseElement
source§impl<'a> IntoWasmAbi for &'a SvgEllipseElement
impl<'a> IntoWasmAbi for &'a SvgEllipseElement
source§impl IntoWasmAbi for SvgEllipseElement
impl IntoWasmAbi for SvgEllipseElement
source§impl JsCast for SvgEllipseElement
impl JsCast for SvgEllipseElement
source§fn instanceof(val: &JsValue) -> bool
fn instanceof(val: &JsValue) -> bool
Performs a dynamic
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,
Test whether this JS value is an instance of the type
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,
Performs a dynamic cast (checked at runtime) of this value into the
target type
T
. Read moresource§fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
Performs a dynamic cast (checked at runtime) of this value into the
target type
T
. Read moresource§fn unchecked_into<T>(self) -> Twhere
T: JsCast,
fn unchecked_into<T>(self) -> Twhere
T: JsCast,
Performs a zero-cost unchecked cast into the specified type. Read more
source§impl<'a> OptionIntoWasmAbi for &'a SvgEllipseElement
impl<'a> OptionIntoWasmAbi for &'a SvgEllipseElement
source§impl RefFromWasmAbi for SvgEllipseElement
impl RefFromWasmAbi for SvgEllipseElement
§type Abi = <JsValue as RefFromWasmAbi>::Abi
type Abi = <JsValue as RefFromWasmAbi>::Abi
The wasm ABI type references to
Self
are recovered from.§type Anchor = ManuallyDrop<SvgEllipseElement>
type Anchor = ManuallyDrop<SvgEllipseElement>
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 moreAuto Trait Implementations§
impl RefUnwindSafe for SvgEllipseElement
impl Send for SvgEllipseElement
impl Sync for SvgEllipseElement
impl Unpin for SvgEllipseElement
impl UnwindSafe for SvgEllipseElement
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
Same as
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
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more