Struct web_sys::SvgPatternElement
source · #[repr(transparent)]pub struct SvgPatternElement { /* private fields */ }
Expand description
The SVGPatternElement
object
This API requires the following crate features to be activated: SvgPatternElement
Implementations§
source§impl SvgPatternElement
impl SvgPatternElement
sourcepub fn pattern_units(&self) -> SvgAnimatedEnumeration
pub fn pattern_units(&self) -> SvgAnimatedEnumeration
The patternUnits
getter
This API requires the following crate features to be activated: SvgAnimatedEnumeration
, SvgPatternElement
source§impl SvgPatternElement
impl SvgPatternElement
sourcepub fn pattern_content_units(&self) -> SvgAnimatedEnumeration
pub fn pattern_content_units(&self) -> SvgAnimatedEnumeration
The patternContentUnits
getter
This API requires the following crate features to be activated: SvgAnimatedEnumeration
, SvgPatternElement
source§impl SvgPatternElement
impl SvgPatternElement
sourcepub fn pattern_transform(&self) -> SvgAnimatedTransformList
pub fn pattern_transform(&self) -> SvgAnimatedTransformList
The patternTransform
getter
This API requires the following crate features to be activated: SvgAnimatedTransformList
, SvgPatternElement
source§impl SvgPatternElement
impl SvgPatternElement
sourcepub fn x(&self) -> SvgAnimatedLength
pub fn x(&self) -> SvgAnimatedLength
The x
getter
This API requires the following crate features to be activated: SvgAnimatedLength
, SvgPatternElement
source§impl SvgPatternElement
impl SvgPatternElement
sourcepub fn y(&self) -> SvgAnimatedLength
pub fn y(&self) -> SvgAnimatedLength
The y
getter
This API requires the following crate features to be activated: SvgAnimatedLength
, SvgPatternElement
source§impl SvgPatternElement
impl SvgPatternElement
sourcepub fn width(&self) -> SvgAnimatedLength
pub fn width(&self) -> SvgAnimatedLength
The width
getter
This API requires the following crate features to be activated: SvgAnimatedLength
, SvgPatternElement
source§impl SvgPatternElement
impl SvgPatternElement
sourcepub fn height(&self) -> SvgAnimatedLength
pub fn height(&self) -> SvgAnimatedLength
The height
getter
This API requires the following crate features to be activated: SvgAnimatedLength
, SvgPatternElement
source§impl SvgPatternElement
impl SvgPatternElement
sourcepub fn view_box(&self) -> SvgAnimatedRect
pub fn view_box(&self) -> SvgAnimatedRect
The viewBox
getter
This API requires the following crate features to be activated: SvgAnimatedRect
, SvgPatternElement
source§impl SvgPatternElement
impl SvgPatternElement
sourcepub fn preserve_aspect_ratio(&self) -> SvgAnimatedPreserveAspectRatio
pub fn preserve_aspect_ratio(&self) -> SvgAnimatedPreserveAspectRatio
The preserveAspectRatio
getter
This API requires the following crate features to be activated: SvgAnimatedPreserveAspectRatio
, SvgPatternElement
source§impl SvgPatternElement
impl SvgPatternElement
sourcepub fn href(&self) -> SvgAnimatedString
pub fn href(&self) -> SvgAnimatedString
The href
getter
This API requires the following crate features to be activated: SvgAnimatedString
, SvgPatternElement
Trait Implementations§
source§impl AsRef<Element> for SvgPatternElement
impl AsRef<Element> for SvgPatternElement
source§impl AsRef<EventTarget> for SvgPatternElement
impl AsRef<EventTarget> for SvgPatternElement
source§fn as_ref(&self) -> &EventTarget
fn as_ref(&self) -> &EventTarget
source§impl AsRef<JsValue> for SvgPatternElement
impl AsRef<JsValue> for SvgPatternElement
source§impl AsRef<Node> for SvgPatternElement
impl AsRef<Node> for SvgPatternElement
source§impl AsRef<Object> for SvgPatternElement
impl AsRef<Object> for SvgPatternElement
source§impl AsRef<SvgElement> for SvgPatternElement
impl AsRef<SvgElement> for SvgPatternElement
source§fn as_ref(&self) -> &SvgElement
fn as_ref(&self) -> &SvgElement
source§impl Clone for SvgPatternElement
impl Clone for SvgPatternElement
source§fn clone(&self) -> SvgPatternElement
fn clone(&self) -> SvgPatternElement
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SvgPatternElement
impl Debug for SvgPatternElement
source§impl From<JsValue> for SvgPatternElement
impl From<JsValue> for SvgPatternElement
source§fn from(obj: JsValue) -> SvgPatternElement
fn from(obj: JsValue) -> SvgPatternElement
source§impl From<SvgPatternElement> for Element
impl From<SvgPatternElement> for Element
source§fn from(obj: SvgPatternElement) -> Element
fn from(obj: SvgPatternElement) -> Element
source§impl From<SvgPatternElement> for EventTarget
impl From<SvgPatternElement> for EventTarget
source§fn from(obj: SvgPatternElement) -> EventTarget
fn from(obj: SvgPatternElement) -> EventTarget
source§impl From<SvgPatternElement> for JsValue
impl From<SvgPatternElement> for JsValue
source§fn from(obj: SvgPatternElement) -> JsValue
fn from(obj: SvgPatternElement) -> JsValue
source§impl From<SvgPatternElement> for Node
impl From<SvgPatternElement> for Node
source§fn from(obj: SvgPatternElement) -> Node
fn from(obj: SvgPatternElement) -> Node
source§impl From<SvgPatternElement> for Object
impl From<SvgPatternElement> for Object
source§fn from(obj: SvgPatternElement) -> Object
fn from(obj: SvgPatternElement) -> Object
source§impl From<SvgPatternElement> for SvgElement
impl From<SvgPatternElement> for SvgElement
source§fn from(obj: SvgPatternElement) -> SvgElement
fn from(obj: SvgPatternElement) -> SvgElement
source§impl FromWasmAbi for SvgPatternElement
impl FromWasmAbi for SvgPatternElement
source§impl<'a> IntoWasmAbi for &'a SvgPatternElement
impl<'a> IntoWasmAbi for &'a SvgPatternElement
source§impl IntoWasmAbi for SvgPatternElement
impl IntoWasmAbi for SvgPatternElement
source§impl JsCast for SvgPatternElement
impl JsCast for SvgPatternElement
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 SvgPatternElement
impl<'a> OptionIntoWasmAbi for &'a SvgPatternElement
source§impl RefFromWasmAbi for SvgPatternElement
impl RefFromWasmAbi for SvgPatternElement
§type Abi = <JsValue as RefFromWasmAbi>::Abi
type Abi = <JsValue as RefFromWasmAbi>::Abi
Self
are recovered from.§type Anchor = ManuallyDrop<SvgPatternElement>
type Anchor = ManuallyDrop<SvgPatternElement>
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 SvgPatternElement
impl Send for SvgPatternElement
impl Sync for SvgPatternElement
impl Unpin for SvgPatternElement
impl UnwindSafe for SvgPatternElement
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