pub trait DOMPointMethods<D: DomTypes> {
    // Required methods
    fn FromPoint(
        global: &GlobalScope,
        other: &DOMPointInit,
        _can_gc: CanGc,
    ) -> Root<Dom<DOMPoint>>;
    fn X(&self) -> f64;
    fn SetX(&self, value: f64);
    fn Y(&self) -> f64;
    fn SetY(&self, value: f64);
    fn Z(&self) -> f64;
    fn SetZ(&self, value: f64);
    fn W(&self) -> f64;
    fn SetW(&self, value: f64);
    fn Constructor(
        global: &GlobalScope,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        x: f64,
        y: f64,
        z: f64,
        w: f64,
    ) -> Result<Root<Dom<DOMPoint>>, Error>;
}

Required Methods§

source

fn FromPoint( global: &GlobalScope, other: &DOMPointInit, _can_gc: CanGc, ) -> Root<Dom<DOMPoint>>

source

fn X(&self) -> f64

source

fn SetX(&self, value: f64)

source

fn Y(&self) -> f64

source

fn SetY(&self, value: f64)

source

fn Z(&self) -> f64

source

fn SetZ(&self, value: f64)

source

fn W(&self) -> f64

source

fn SetW(&self, value: f64)

source

fn Constructor( global: &GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, x: f64, y: f64, z: f64, w: f64, ) -> Result<Root<Dom<DOMPoint>>, Error>

Object Safety§

This trait is not object safe.

Implementors§