pub(crate) trait DOMMatrixMethods<D: DomTypes> {
Show 59 methods // Required methods fn FromMatrix( global: &D::GlobalScope, other: &DOMMatrixInit, _can_gc: CanGc, ) -> Fallible<DomRoot<D::DOMMatrix>>; fn FromFloat32Array( global: &D::GlobalScope, array32: CustomAutoRooterGuard<'_, Float32Array>, _can_gc: CanGc, ) -> Fallible<DomRoot<D::DOMMatrix>>; fn FromFloat64Array( global: &D::GlobalScope, array64: CustomAutoRooterGuard<'_, Float64Array>, _can_gc: CanGc, ) -> Fallible<DomRoot<D::DOMMatrix>>; fn A(&self) -> f64; fn SetA(&self, value: f64); fn B(&self) -> f64; fn SetB(&self, value: f64); fn C(&self) -> f64; fn SetC(&self, value: f64); fn D(&self) -> f64; fn SetD(&self, value: f64); fn E(&self) -> f64; fn SetE(&self, value: f64); fn F(&self) -> f64; fn SetF(&self, value: f64); fn M11(&self) -> f64; fn SetM11(&self, value: f64); fn M12(&self) -> f64; fn SetM12(&self, value: f64); fn M13(&self) -> f64; fn SetM13(&self, value: f64); fn M14(&self) -> f64; fn SetM14(&self, value: f64); fn M21(&self) -> f64; fn SetM21(&self, value: f64); fn M22(&self) -> f64; fn SetM22(&self, value: f64); fn M23(&self) -> f64; fn SetM23(&self, value: f64); fn M24(&self) -> f64; fn SetM24(&self, value: f64); fn M31(&self) -> f64; fn SetM31(&self, value: f64); fn M32(&self) -> f64; fn SetM32(&self, value: f64); fn M33(&self) -> f64; fn SetM33(&self, value: f64); fn M34(&self) -> f64; fn SetM34(&self, value: f64); fn M41(&self) -> f64; fn SetM41(&self, value: f64); fn M42(&self) -> f64; fn SetM42(&self, value: f64); fn M43(&self) -> f64; fn SetM43(&self, value: f64); fn M44(&self) -> f64; fn SetM44(&self, value: f64); fn MultiplySelf( &self, other: &DOMMatrixInit, ) -> Fallible<DomRoot<D::DOMMatrix>>; fn PreMultiplySelf( &self, other: &DOMMatrixInit, ) -> Fallible<DomRoot<D::DOMMatrix>>; fn TranslateSelf(&self, tx: f64, ty: f64, tz: f64) -> DomRoot<D::DOMMatrix>; fn ScaleSelf( &self, scaleX: f64, scaleY: Option<f64>, scaleZ: f64, originX: f64, originY: f64, originZ: f64, ) -> DomRoot<D::DOMMatrix>; fn Scale3dSelf( &self, scale: f64, originX: f64, originY: f64, originZ: f64, ) -> DomRoot<D::DOMMatrix>; fn RotateSelf( &self, rotX: f64, rotY: Option<f64>, rotZ: Option<f64>, ) -> DomRoot<D::DOMMatrix>; fn RotateFromVectorSelf(&self, x: f64, y: f64) -> DomRoot<D::DOMMatrix>; fn RotateAxisAngleSelf( &self, x: f64, y: f64, z: f64, angle: f64, ) -> DomRoot<D::DOMMatrix>; fn SkewXSelf(&self, sx: f64) -> DomRoot<D::DOMMatrix>; fn SkewYSelf(&self, sy: f64) -> DomRoot<D::DOMMatrix>; fn InvertSelf(&self) -> DomRoot<D::DOMMatrix>; fn Constructor( global: &D::GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, init: Option<StringOrUnrestrictedDoubleSequence>, ) -> Fallible<DomRoot<D::DOMMatrix>>;
}

Required Methods§

Source

fn FromMatrix( global: &D::GlobalScope, other: &DOMMatrixInit, _can_gc: CanGc, ) -> Fallible<DomRoot<D::DOMMatrix>>

Source

fn FromFloat32Array( global: &D::GlobalScope, array32: CustomAutoRooterGuard<'_, Float32Array>, _can_gc: CanGc, ) -> Fallible<DomRoot<D::DOMMatrix>>

Source

fn FromFloat64Array( global: &D::GlobalScope, array64: CustomAutoRooterGuard<'_, Float64Array>, _can_gc: CanGc, ) -> Fallible<DomRoot<D::DOMMatrix>>

Source

fn A(&self) -> f64

Source

fn SetA(&self, value: f64)

Source

fn B(&self) -> f64

Source

fn SetB(&self, value: f64)

Source

fn C(&self) -> f64

Source

fn SetC(&self, value: f64)

Source

fn D(&self) -> f64

Source

fn SetD(&self, value: f64)

Source

fn E(&self) -> f64

Source

fn SetE(&self, value: f64)

Source

fn F(&self) -> f64

Source

fn SetF(&self, value: f64)

Source

fn M11(&self) -> f64

Source

fn SetM11(&self, value: f64)

Source

fn M12(&self) -> f64

Source

fn SetM12(&self, value: f64)

Source

fn M13(&self) -> f64

Source

fn SetM13(&self, value: f64)

Source

fn M14(&self) -> f64

Source

fn SetM14(&self, value: f64)

Source

fn M21(&self) -> f64

Source

fn SetM21(&self, value: f64)

Source

fn M22(&self) -> f64

Source

fn SetM22(&self, value: f64)

Source

fn M23(&self) -> f64

Source

fn SetM23(&self, value: f64)

Source

fn M24(&self) -> f64

Source

fn SetM24(&self, value: f64)

Source

fn M31(&self) -> f64

Source

fn SetM31(&self, value: f64)

Source

fn M32(&self) -> f64

Source

fn SetM32(&self, value: f64)

Source

fn M33(&self) -> f64

Source

fn SetM33(&self, value: f64)

Source

fn M34(&self) -> f64

Source

fn SetM34(&self, value: f64)

Source

fn M41(&self) -> f64

Source

fn SetM41(&self, value: f64)

Source

fn M42(&self) -> f64

Source

fn SetM42(&self, value: f64)

Source

fn M43(&self) -> f64

Source

fn SetM43(&self, value: f64)

Source

fn M44(&self) -> f64

Source

fn SetM44(&self, value: f64)

Source

fn MultiplySelf(&self, other: &DOMMatrixInit) -> Fallible<DomRoot<D::DOMMatrix>>

Source

fn PreMultiplySelf( &self, other: &DOMMatrixInit, ) -> Fallible<DomRoot<D::DOMMatrix>>

Source

fn TranslateSelf(&self, tx: f64, ty: f64, tz: f64) -> DomRoot<D::DOMMatrix>

Source

fn ScaleSelf( &self, scaleX: f64, scaleY: Option<f64>, scaleZ: f64, originX: f64, originY: f64, originZ: f64, ) -> DomRoot<D::DOMMatrix>

Source

fn Scale3dSelf( &self, scale: f64, originX: f64, originY: f64, originZ: f64, ) -> DomRoot<D::DOMMatrix>

Source

fn RotateSelf( &self, rotX: f64, rotY: Option<f64>, rotZ: Option<f64>, ) -> DomRoot<D::DOMMatrix>

Source

fn RotateFromVectorSelf(&self, x: f64, y: f64) -> DomRoot<D::DOMMatrix>

Source

fn RotateAxisAngleSelf( &self, x: f64, y: f64, z: f64, angle: f64, ) -> DomRoot<D::DOMMatrix>

Source

fn SkewXSelf(&self, sx: f64) -> DomRoot<D::DOMMatrix>

Source

fn SkewYSelf(&self, sy: f64) -> DomRoot<D::DOMMatrix>

Source

fn InvertSelf(&self) -> DomRoot<D::DOMMatrix>

Source

fn Constructor( global: &D::GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, init: Option<StringOrUnrestrictedDoubleSequence>, ) -> Fallible<DomRoot<D::DOMMatrix>>

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§