Trait script::dom::bindings::codegen::Bindings::DOMQuadBinding::DOMQuad_Binding::DOMQuadMethods
source · 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§
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>
Object Safety§
This trait is not object safe.