[−][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 SvgPathSeg
[src]
fn as_ref(&self) -> &SvgPathSeg
[src]
impl AsRef<SvgPathSeg> for SvgPathSegArcAbs
[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 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 Clone for SvgPathSeg
[src]
fn clone(&self) -> SvgPathSeg
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SvgPathSeg
[src]
impl Deref for SvgPathSeg
[src]
impl Eq for SvgPathSeg
[src]
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 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) -> Self
[src]
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) -> 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) -> Self::Abi
[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,
fn dyn_into<T>(self) -> Result<T, Self> where
T: JsCast,
[src]
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T> where
T: JsCast,
[src]
T: JsCast,
fn unchecked_into<T>(self) -> T where
T: JsCast,
[src]
T: JsCast,
fn unchecked_ref<T>(&self) -> &T where
T: JsCast,
[src]
T: JsCast,
fn is_instance_of<T>(&self) -> bool where
T: JsCast,
[src]
T: JsCast,
impl OptionFromWasmAbi for SvgPathSeg
[src]
impl OptionIntoWasmAbi for SvgPathSeg
[src]
impl<'a> OptionIntoWasmAbi for &'a SvgPathSeg
[src]
impl PartialEq<SvgPathSeg> for SvgPathSeg
[src]
fn eq(&self, other: &SvgPathSeg) -> bool
[src]
fn ne(&self, other: &SvgPathSeg) -> bool
[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) -> Self::Anchor
[src]
impl StructuralEq for SvgPathSeg
[src]
impl StructuralPartialEq for SvgPathSeg
[src]
impl WasmDescribe for SvgPathSeg
[src]
Auto Trait Implementations
impl RefUnwindSafe for SvgPathSeg
impl !Send for SvgPathSeg
impl !Sync for SvgPathSeg
impl Unpin for SvgPathSeg
impl UnwindSafe for SvgPathSeg
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
[src]
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
[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>,