Trait DOMMatrixReadOnlyMethods

Source
pub trait DOMMatrixReadOnlyMethods<D>
where D: DomTypes,
{
Show 45 methods // Required methods fn FromMatrix( global: &<D as DomTypes>::GlobalScope, other: &DOMMatrixInit, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::DOMMatrixReadOnly>>, Error>; fn FromFloat32Array( global: &<D as DomTypes>::GlobalScope, array32: CustomAutoRooterGuard<'_, TypedArray<Float32, *mut JSObject>>, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::DOMMatrixReadOnly>>, Error>; fn FromFloat64Array( global: &<D as DomTypes>::GlobalScope, array64: CustomAutoRooterGuard<'_, TypedArray<Float64, *mut JSObject>>, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::DOMMatrixReadOnly>>, Error>; fn A(&self) -> f64; fn B(&self) -> f64; fn C(&self) -> f64; fn D(&self) -> f64; fn E(&self) -> f64; fn F(&self) -> f64; fn M11(&self) -> f64; fn M12(&self) -> f64; fn M13(&self) -> f64; fn M14(&self) -> f64; fn M21(&self) -> f64; fn M22(&self) -> f64; fn M23(&self) -> f64; fn M24(&self) -> f64; fn M31(&self) -> f64; fn M32(&self) -> f64; fn M33(&self) -> f64; fn M34(&self) -> f64; fn M41(&self) -> f64; fn M42(&self) -> f64; fn M43(&self) -> f64; fn M44(&self) -> f64; fn Is2D(&self) -> bool; fn IsIdentity(&self) -> bool; fn Translate( &self, tx: f64, ty: f64, tz: f64, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMMatrix>>; fn Scale( &self, scaleX: f64, scaleY: Option<f64>, scaleZ: f64, originX: f64, originY: f64, originZ: f64, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMMatrix>>; fn ScaleNonUniform( &self, scaleX: f64, scaleY: f64, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMMatrix>>; fn Scale3d( &self, scale: f64, originX: f64, originY: f64, originZ: f64, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMMatrix>>; fn Rotate( &self, rotX: f64, rotY: Option<f64>, rotZ: Option<f64>, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMMatrix>>; fn RotateFromVector( &self, x: f64, y: f64, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMMatrix>>; fn RotateAxisAngle( &self, x: f64, y: f64, z: f64, angle: f64, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMMatrix>>; fn SkewX( &self, sx: f64, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMMatrix>>; fn SkewY( &self, sy: f64, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMMatrix>>; fn Multiply( &self, other: &DOMMatrixInit, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::DOMMatrix>>, Error>; fn FlipX(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::DOMMatrix>>; fn FlipY(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::DOMMatrix>>; fn Inverse(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::DOMMatrix>>; fn TransformPoint( &self, point: &DOMPointInit, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMPoint>>; fn ToFloat32Array( &self, cx: JSContext, _can_gc: CanGc, ) -> TypedArray<Float32, *mut JSObject>; fn ToFloat64Array( &self, cx: JSContext, _can_gc: CanGc, ) -> TypedArray<Float64, *mut JSObject>; fn Stringifier(&self) -> Result<DOMString, Error>; fn Constructor( global: &<D as DomTypes>::GlobalScope, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, init: Option<StringOrUnrestrictedDoubleSequence>, ) -> Result<Root<Dom<<D as DomTypes>::DOMMatrixReadOnly>>, Error>;
}

Required Methods§

Source

fn FromMatrix( global: &<D as DomTypes>::GlobalScope, other: &DOMMatrixInit, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::DOMMatrixReadOnly>>, Error>

Source

fn FromFloat32Array( global: &<D as DomTypes>::GlobalScope, array32: CustomAutoRooterGuard<'_, TypedArray<Float32, *mut JSObject>>, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::DOMMatrixReadOnly>>, Error>

Source

fn FromFloat64Array( global: &<D as DomTypes>::GlobalScope, array64: CustomAutoRooterGuard<'_, TypedArray<Float64, *mut JSObject>>, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::DOMMatrixReadOnly>>, Error>

Source

fn A(&self) -> f64

Source

fn B(&self) -> f64

Source

fn C(&self) -> f64

Source

fn D(&self) -> f64

Source

fn E(&self) -> f64

Source

fn F(&self) -> f64

Source

fn M11(&self) -> f64

Source

fn M12(&self) -> f64

Source

fn M13(&self) -> f64

Source

fn M14(&self) -> f64

Source

fn M21(&self) -> f64

Source

fn M22(&self) -> f64

Source

fn M23(&self) -> f64

Source

fn M24(&self) -> f64

Source

fn M31(&self) -> f64

Source

fn M32(&self) -> f64

Source

fn M33(&self) -> f64

Source

fn M34(&self) -> f64

Source

fn M41(&self) -> f64

Source

fn M42(&self) -> f64

Source

fn M43(&self) -> f64

Source

fn M44(&self) -> f64

Source

fn Is2D(&self) -> bool

Source

fn IsIdentity(&self) -> bool

Source

fn Translate( &self, tx: f64, ty: f64, tz: f64, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMMatrix>>

Source

fn Scale( &self, scaleX: f64, scaleY: Option<f64>, scaleZ: f64, originX: f64, originY: f64, originZ: f64, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMMatrix>>

Source

fn ScaleNonUniform( &self, scaleX: f64, scaleY: f64, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMMatrix>>

Source

fn Scale3d( &self, scale: f64, originX: f64, originY: f64, originZ: f64, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMMatrix>>

Source

fn Rotate( &self, rotX: f64, rotY: Option<f64>, rotZ: Option<f64>, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMMatrix>>

Source

fn RotateFromVector( &self, x: f64, y: f64, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMMatrix>>

Source

fn RotateAxisAngle( &self, x: f64, y: f64, z: f64, angle: f64, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMMatrix>>

Source

fn SkewX( &self, sx: f64, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMMatrix>>

Source

fn SkewY( &self, sy: f64, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMMatrix>>

Source

fn Multiply( &self, other: &DOMMatrixInit, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::DOMMatrix>>, Error>

Source

fn FlipX(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::DOMMatrix>>

Source

fn FlipY(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::DOMMatrix>>

Source

fn Inverse(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::DOMMatrix>>

Source

fn TransformPoint( &self, point: &DOMPointInit, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMPoint>>

Source

fn ToFloat32Array( &self, cx: JSContext, _can_gc: CanGc, ) -> TypedArray<Float32, *mut JSObject>

Source

fn ToFloat64Array( &self, cx: JSContext, _can_gc: CanGc, ) -> TypedArray<Float64, *mut JSObject>

Source

fn Stringifier(&self) -> Result<DOMString, Error>

Source

fn Constructor( global: &<D as DomTypes>::GlobalScope, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, init: Option<StringOrUnrestrictedDoubleSequence>, ) -> Result<Root<Dom<<D as DomTypes>::DOMMatrixReadOnly>>, 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§