[−][src]Struct web_sys::SvgPathSeg
The SVGPathSeg object
This API requires the following crate features to be activated: SvgPathSeg
Methods
impl SvgPathSeg[src]
pub fn path_seg_type(&self) -> u16[src]
The pathSegType getter
This API requires the following crate features to be activated: SvgPathSeg
impl SvgPathSeg[src]
pub fn path_seg_type_as_letter(&self) -> String[src]
The pathSegTypeAsLetter getter
This API requires the following crate features to be activated: SvgPathSeg
impl SvgPathSeg[src]
pub const PATHSEG_UNKNOWN: u16[src]
impl SvgPathSeg[src]
pub const PATHSEG_CLOSEPATH: u16[src]
impl SvgPathSeg[src]
pub const PATHSEG_MOVETO_ABS: u16[src]
impl SvgPathSeg[src]
pub const PATHSEG_MOVETO_REL: u16[src]
impl SvgPathSeg[src]
pub const PATHSEG_LINETO_ABS: u16[src]
impl SvgPathSeg[src]
pub const PATHSEG_LINETO_REL: u16[src]
impl SvgPathSeg[src]
pub const PATHSEG_CURVETO_CUBIC_ABS: u16[src]
impl SvgPathSeg[src]
pub const PATHSEG_CURVETO_CUBIC_REL: u16[src]
impl SvgPathSeg[src]
pub const PATHSEG_CURVETO_QUADRATIC_ABS: u16[src]
impl SvgPathSeg[src]
pub const PATHSEG_CURVETO_QUADRATIC_REL: u16[src]
impl SvgPathSeg[src]
pub const PATHSEG_ARC_ABS: u16[src]
impl SvgPathSeg[src]
pub const PATHSEG_ARC_REL: u16[src]
impl SvgPathSeg[src]
pub const PATHSEG_LINETO_HORIZONTAL_ABS: u16[src]
impl SvgPathSeg[src]
pub const PATHSEG_LINETO_HORIZONTAL_REL: u16[src]
impl SvgPathSeg[src]
pub const PATHSEG_LINETO_VERTICAL_ABS: u16[src]
impl SvgPathSeg[src]
pub const PATHSEG_LINETO_VERTICAL_REL: u16[src]
impl SvgPathSeg[src]
pub const PATHSEG_CURVETO_CUBIC_SMOOTH_ABS: u16[src]
impl SvgPathSeg[src]
pub const PATHSEG_CURVETO_CUBIC_SMOOTH_REL: u16[src]
impl SvgPathSeg[src]
pub const PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS: u16[src]
impl SvgPathSeg[src]
pub const PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL: u16[src]
Trait Implementations
impl AsRef<JsValue> for SvgPathSeg[src]
impl AsRef<Object> for SvgPathSeg[src]
impl AsRef<SvgPathSeg> for SvgPathSegArcAbs[src]
fn as_ref(&self) -> &SvgPathSeg[src]
impl AsRef<SvgPathSeg> for SvgPathSegArcRel[src]
fn as_ref(&self) -> &SvgPathSeg[src]
impl AsRef<SvgPathSeg> for SvgPathSegClosePath[src]
fn as_ref(&self) -> &SvgPathSeg[src]
impl AsRef<SvgPathSeg> for SvgPathSegCurvetoCubicAbs[src]
fn as_ref(&self) -> &SvgPathSeg[src]
impl AsRef<SvgPathSeg> for SvgPathSegCurvetoCubicRel[src]
fn as_ref(&self) -> &SvgPathSeg[src]
impl AsRef<SvgPathSeg> for SvgPathSegCurvetoCubicSmoothAbs[src]
fn as_ref(&self) -> &SvgPathSeg[src]
impl AsRef<SvgPathSeg> for SvgPathSegCurvetoCubicSmoothRel[src]
fn as_ref(&self) -> &SvgPathSeg[src]
impl AsRef<SvgPathSeg> for SvgPathSegCurvetoQuadraticAbs[src]
fn as_ref(&self) -> &SvgPathSeg[src]
impl AsRef<SvgPathSeg> for SvgPathSegCurvetoQuadraticRel[src]
fn as_ref(&self) -> &SvgPathSeg[src]
impl AsRef<SvgPathSeg> for SvgPathSegCurvetoQuadraticSmoothAbs[src]
fn as_ref(&self) -> &SvgPathSeg[src]
impl AsRef<SvgPathSeg> for SvgPathSegCurvetoQuadraticSmoothRel[src]
fn as_ref(&self) -> &SvgPathSeg[src]
impl AsRef<SvgPathSeg> for SvgPathSegLinetoAbs[src]
fn as_ref(&self) -> &SvgPathSeg[src]
impl AsRef<SvgPathSeg> for SvgPathSegLinetoHorizontalAbs[src]
fn as_ref(&self) -> &SvgPathSeg[src]
impl AsRef<SvgPathSeg> for SvgPathSegLinetoHorizontalRel[src]
fn as_ref(&self) -> &SvgPathSeg[src]
impl AsRef<SvgPathSeg> for SvgPathSegLinetoRel[src]
fn as_ref(&self) -> &SvgPathSeg[src]
impl AsRef<SvgPathSeg> for SvgPathSegLinetoVerticalAbs[src]
fn as_ref(&self) -> &SvgPathSeg[src]
impl AsRef<SvgPathSeg> for SvgPathSegLinetoVerticalRel[src]
fn as_ref(&self) -> &SvgPathSeg[src]
impl AsRef<SvgPathSeg> for SvgPathSegMovetoAbs[src]
fn as_ref(&self) -> &SvgPathSeg[src]
impl AsRef<SvgPathSeg> for SvgPathSegMovetoRel[src]
fn as_ref(&self) -> &SvgPathSeg[src]
impl Clone for SvgPathSeg[src]
fn clone(&self) -> SvgPathSeg[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl From<JsValue> for SvgPathSeg[src]
fn from(obj: JsValue) -> SvgPathSeg[src]
impl From<SvgPathSeg> for JsValue[src]
fn from(obj: SvgPathSeg) -> JsValue[src]
impl From<SvgPathSeg> for Object[src]
fn from(obj: SvgPathSeg) -> Object[src]
impl From<SvgPathSegArcAbs> for SvgPathSeg[src]
fn from(obj: SvgPathSegArcAbs) -> SvgPathSeg[src]
impl From<SvgPathSegArcRel> for SvgPathSeg[src]
fn from(obj: SvgPathSegArcRel) -> SvgPathSeg[src]
impl From<SvgPathSegClosePath> for SvgPathSeg[src]
fn from(obj: SvgPathSegClosePath) -> SvgPathSeg[src]
impl From<SvgPathSegCurvetoCubicAbs> for SvgPathSeg[src]
fn from(obj: SvgPathSegCurvetoCubicAbs) -> SvgPathSeg[src]
impl From<SvgPathSegCurvetoCubicRel> for SvgPathSeg[src]
fn from(obj: SvgPathSegCurvetoCubicRel) -> SvgPathSeg[src]
impl From<SvgPathSegCurvetoCubicSmoothAbs> for SvgPathSeg[src]
fn from(obj: SvgPathSegCurvetoCubicSmoothAbs) -> SvgPathSeg[src]
impl From<SvgPathSegCurvetoCubicSmoothRel> for SvgPathSeg[src]
fn from(obj: SvgPathSegCurvetoCubicSmoothRel) -> SvgPathSeg[src]
impl From<SvgPathSegCurvetoQuadraticAbs> for SvgPathSeg[src]
fn from(obj: SvgPathSegCurvetoQuadraticAbs) -> SvgPathSeg[src]
impl From<SvgPathSegCurvetoQuadraticRel> for SvgPathSeg[src]
fn from(obj: SvgPathSegCurvetoQuadraticRel) -> SvgPathSeg[src]
impl From<SvgPathSegCurvetoQuadraticSmoothAbs> for SvgPathSeg[src]
fn from(obj: SvgPathSegCurvetoQuadraticSmoothAbs) -> SvgPathSeg[src]
impl From<SvgPathSegCurvetoQuadraticSmoothRel> for SvgPathSeg[src]
fn from(obj: SvgPathSegCurvetoQuadraticSmoothRel) -> SvgPathSeg[src]
impl From<SvgPathSegLinetoAbs> for SvgPathSeg[src]
fn from(obj: SvgPathSegLinetoAbs) -> SvgPathSeg[src]
impl From<SvgPathSegLinetoHorizontalAbs> for SvgPathSeg[src]
fn from(obj: SvgPathSegLinetoHorizontalAbs) -> SvgPathSeg[src]
impl From<SvgPathSegLinetoHorizontalRel> for SvgPathSeg[src]
fn from(obj: SvgPathSegLinetoHorizontalRel) -> SvgPathSeg[src]
impl From<SvgPathSegLinetoRel> for SvgPathSeg[src]
fn from(obj: SvgPathSegLinetoRel) -> SvgPathSeg[src]
impl From<SvgPathSegLinetoVerticalAbs> for SvgPathSeg[src]
fn from(obj: SvgPathSegLinetoVerticalAbs) -> SvgPathSeg[src]
impl From<SvgPathSegLinetoVerticalRel> for SvgPathSeg[src]
fn from(obj: SvgPathSegLinetoVerticalRel) -> SvgPathSeg[src]
impl From<SvgPathSegMovetoAbs> for SvgPathSeg[src]
fn from(obj: SvgPathSegMovetoAbs) -> SvgPathSeg[src]
impl From<SvgPathSegMovetoRel> for SvgPathSeg[src]
fn from(obj: SvgPathSegMovetoRel) -> SvgPathSeg[src]
impl Deref for SvgPathSeg[src]
impl Debug for SvgPathSeg[src]
impl JsCast for SvgPathSeg[src]
fn instanceof(val: &JsValue) -> bool[src]
fn is_type_of(val: &JsValue) -> bool[src]
fn unchecked_from_js(val: JsValue) -> Self[src]
fn unchecked_from_js_ref(val: &JsValue) -> &Self[src]
fn has_type<T>(&self) -> bool where
T: JsCast, [src]
T: JsCast,
Test whether this JS value has a type T. Read more
fn dyn_into<T>(self) -> Result<T, Self> where
T: JsCast, [src]
T: JsCast,
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
T: JsCast, [src]
T: JsCast,
Performs a dynamic cast (checked at runtime) of this value into the target type T. Read more
fn unchecked_into<T>(self) -> T where
T: JsCast, [src]
T: JsCast,
Performs a zero-cost unchecked cast into the specified type. Read more
fn unchecked_ref<T>(&self) -> &T where
T: JsCast, [src]
T: JsCast,
Performs a zero-cost unchecked cast into a reference to the specified type. Read more
fn is_instance_of<T>(&self) -> bool where
T: JsCast, [src]
T: JsCast,
Test whether this JS value is an instance of the type T. Read more
impl IntoWasmAbi for SvgPathSeg[src]
type 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 SvgPathSeg[src]
type 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 RefFromWasmAbi for SvgPathSeg[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
The wasm ABI type references to Self are recovered from.
type Anchor = ManuallyDrop<SvgPathSeg>
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 FromWasmAbi for SvgPathSeg[src]
type 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 WasmDescribe for SvgPathSeg[src]
impl OptionIntoWasmAbi for SvgPathSeg[src]
impl<'a> OptionIntoWasmAbi for &'a SvgPathSeg[src]
impl OptionFromWasmAbi for SvgPathSeg[src]
Auto Trait Implementations
impl !Send for SvgPathSeg
impl !Sync for SvgPathSeg
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi, [src]
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi