Trait DOMPointReadOnlyMethods

Source
pub(crate) trait DOMPointReadOnlyMethods<D>
where D: DomTypes,
{ // Required methods fn FromPoint( global: &<D as DomTypes>::GlobalScope, other: &DOMPointInit, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMPointReadOnly>>; fn X(&self) -> f64; fn Y(&self) -> f64; fn Z(&self) -> f64; fn W(&self) -> f64; fn MatrixTransform( &self, matrix: &DOMMatrixInit, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::DOMPoint>>, Error>; fn Constructor( global: &<D as DomTypes>::GlobalScope, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, x: f64, y: f64, z: f64, w: f64, ) -> Result<Root<Dom<<D as DomTypes>::DOMPointReadOnly>>, Error>; }

Required Methods§

Source

fn FromPoint( global: &<D as DomTypes>::GlobalScope, other: &DOMPointInit, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMPointReadOnly>>

Source

fn X(&self) -> f64

Source

fn Y(&self) -> f64

Source

fn Z(&self) -> f64

Source

fn W(&self) -> f64

Source

fn MatrixTransform( &self, matrix: &DOMMatrixInit, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::DOMPoint>>, Error>

Source

fn Constructor( global: &<D as DomTypes>::GlobalScope, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, x: f64, y: f64, z: f64, w: f64, ) -> Result<Root<Dom<<D as DomTypes>::DOMPointReadOnly>>, Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§