pub trait DOMQuadMethods {
    // Required methods
    fn FromRect(
        global: &GlobalScope,
        other: &DOMRectInit,
        _can_gc: CanGc,
    ) -> Root<Dom<DOMQuad>>;
    fn FromQuad(
        global: &GlobalScope,
        other: &DOMQuadInit,
        _can_gc: CanGc,
    ) -> Root<Dom<DOMQuad>>;
    fn P1(&self) -> Root<Dom<DOMPoint>>;
    fn P2(&self) -> Root<Dom<DOMPoint>>;
    fn P3(&self) -> Root<Dom<DOMPoint>>;
    fn P4(&self) -> Root<Dom<DOMPoint>>;
    fn GetBounds(&self, _can_gc: CanGc) -> Root<Dom<DOMRect>>;
    fn Constructor(
        global: &GlobalScope,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        p1: &DOMPointInit,
        p2: &DOMPointInit,
        p3: &DOMPointInit,
        p4: &DOMPointInit,
    ) -> Result<Root<Dom<DOMQuad>>, Error>;
}

Required Methods§

source

fn FromRect( global: &GlobalScope, other: &DOMRectInit, _can_gc: CanGc, ) -> Root<Dom<DOMQuad>>

source

fn FromQuad( global: &GlobalScope, other: &DOMQuadInit, _can_gc: CanGc, ) -> Root<Dom<DOMQuad>>

source

fn P1(&self) -> Root<Dom<DOMPoint>>

source

fn P2(&self) -> Root<Dom<DOMPoint>>

source

fn P3(&self) -> Root<Dom<DOMPoint>>

source

fn P4(&self) -> Root<Dom<DOMPoint>>

source

fn GetBounds(&self, _can_gc: CanGc) -> Root<Dom<DOMRect>>

source

fn Constructor( global: &GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, p1: &DOMPointInit, p2: &DOMPointInit, p3: &DOMPointInit, p4: &DOMPointInit, ) -> Result<Root<Dom<DOMQuad>>, Error>

Object Safety§

This trait is not object safe.

Implementors§