Struct web_sys::WebKitCssMatrix [−][src]
The WebKitCssMatrix
class.
This API requires the following crate features to be activated: WebKitCssMatrix
Implementations
impl WebKitCssMatrix
[src]
pub fn new() -> Result<WebKitCssMatrix, JsValue>
[src]
The new WebKitCssMatrix(..)
constructor, creating a new instance of WebKitCssMatrix
.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn new_with_transform_list(
transform_list: &str
) -> Result<WebKitCssMatrix, JsValue>
[src]
transform_list: &str
) -> Result<WebKitCssMatrix, JsValue>
The new WebKitCssMatrix(..)
constructor, creating a new instance of WebKitCssMatrix
.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn new_with_other(
other: &WebKitCssMatrix
) -> Result<WebKitCssMatrix, JsValue>
[src]
other: &WebKitCssMatrix
) -> Result<WebKitCssMatrix, JsValue>
The new WebKitCssMatrix(..)
constructor, creating a new instance of WebKitCssMatrix
.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn inverse(&self) -> Result<WebKitCssMatrix, JsValue>
[src]
The inverse()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn multiply(&self, other: &WebKitCssMatrix) -> WebKitCssMatrix
[src]
The multiply()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn rotate(&self) -> WebKitCssMatrix
[src]
The rotate()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn rotate_with_rot_x(&self, rot_x: f64) -> WebKitCssMatrix
[src]
The rotate()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn rotate_with_rot_x_and_rot_y(
&self,
rot_x: f64,
rot_y: f64
) -> WebKitCssMatrix
[src]
&self,
rot_x: f64,
rot_y: f64
) -> WebKitCssMatrix
The rotate()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn rotate_with_rot_x_and_rot_y_and_rot_z(
&self,
rot_x: f64,
rot_y: f64,
rot_z: f64
) -> WebKitCssMatrix
[src]
&self,
rot_x: f64,
rot_y: f64,
rot_z: f64
) -> WebKitCssMatrix
The rotate()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn rotate_axis_angle(&self) -> WebKitCssMatrix
[src]
The rotateAxisAngle()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn rotate_axis_angle_with_x(&self, x: f64) -> WebKitCssMatrix
[src]
The rotateAxisAngle()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn rotate_axis_angle_with_x_and_y(&self, x: f64, y: f64) -> WebKitCssMatrix
[src]
The rotateAxisAngle()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn rotate_axis_angle_with_x_and_y_and_z(
&self,
x: f64,
y: f64,
z: f64
) -> WebKitCssMatrix
[src]
&self,
x: f64,
y: f64,
z: f64
) -> WebKitCssMatrix
The rotateAxisAngle()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn rotate_axis_angle_with_x_and_y_and_z_and_angle(
&self,
x: f64,
y: f64,
z: f64,
angle: f64
) -> WebKitCssMatrix
[src]
&self,
x: f64,
y: f64,
z: f64,
angle: f64
) -> WebKitCssMatrix
The rotateAxisAngle()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn scale(&self) -> WebKitCssMatrix
[src]
The scale()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn scale_with_scale_x(&self, scale_x: f64) -> WebKitCssMatrix
[src]
The scale()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn scale_with_scale_x_and_scale_y(
&self,
scale_x: f64,
scale_y: f64
) -> WebKitCssMatrix
[src]
&self,
scale_x: f64,
scale_y: f64
) -> WebKitCssMatrix
The scale()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn scale_with_scale_x_and_scale_y_and_scale_z(
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64
) -> WebKitCssMatrix
[src]
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64
) -> WebKitCssMatrix
The scale()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn set_matrix_value(
&self,
transform_list: &str
) -> Result<WebKitCssMatrix, JsValue>
[src]
&self,
transform_list: &str
) -> Result<WebKitCssMatrix, JsValue>
The setMatrixValue()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn skew_x(&self) -> WebKitCssMatrix
[src]
The skewX()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn skew_x_with_sx(&self, sx: f64) -> WebKitCssMatrix
[src]
The skewX()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn skew_y(&self) -> WebKitCssMatrix
[src]
The skewY()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn skew_y_with_sy(&self, sy: f64) -> WebKitCssMatrix
[src]
The skewY()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn translate(&self) -> WebKitCssMatrix
[src]
The translate()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn translate_with_tx(&self, tx: f64) -> WebKitCssMatrix
[src]
The translate()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn translate_with_tx_and_ty(&self, tx: f64, ty: f64) -> WebKitCssMatrix
[src]
The translate()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
impl WebKitCssMatrix
[src]
pub fn translate_with_tx_and_ty_and_tz(
&self,
tx: f64,
ty: f64,
tz: f64
) -> WebKitCssMatrix
[src]
&self,
tx: f64,
ty: f64,
tz: f64
) -> WebKitCssMatrix
The translate()
method.
This API requires the following crate features to be activated: WebKitCssMatrix
Methods from Deref<Target = DomMatrix>
pub fn a(&self) -> f64
[src]
Getter for the a
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn set_a(&self, value: f64)
[src]
Setter for the a
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn b(&self) -> f64
[src]
Getter for the b
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn set_b(&self, value: f64)
[src]
Setter for the b
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn c(&self) -> f64
[src]
Getter for the c
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn set_c(&self, value: f64)
[src]
Setter for the c
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn d(&self) -> f64
[src]
Getter for the d
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn set_d(&self, value: f64)
[src]
Setter for the d
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn e(&self) -> f64
[src]
Getter for the e
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn set_e(&self, value: f64)
[src]
Setter for the e
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn f(&self) -> f64
[src]
Getter for the f
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn set_f(&self, value: f64)
[src]
Setter for the f
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn m11(&self) -> f64
[src]
Getter for the m11
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn set_m11(&self, value: f64)
[src]
Setter for the m11
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn m12(&self) -> f64
[src]
Getter for the m12
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn set_m12(&self, value: f64)
[src]
Setter for the m12
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn m13(&self) -> f64
[src]
Getter for the m13
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn set_m13(&self, value: f64)
[src]
Setter for the m13
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn m14(&self) -> f64
[src]
Getter for the m14
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn set_m14(&self, value: f64)
[src]
Setter for the m14
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn m21(&self) -> f64
[src]
Getter for the m21
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn set_m21(&self, value: f64)
[src]
Setter for the m21
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn m22(&self) -> f64
[src]
Getter for the m22
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn set_m22(&self, value: f64)
[src]
Setter for the m22
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn m23(&self) -> f64
[src]
Getter for the m23
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn set_m23(&self, value: f64)
[src]
Setter for the m23
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn m24(&self) -> f64
[src]
Getter for the m24
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn set_m24(&self, value: f64)
[src]
Setter for the m24
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn m31(&self) -> f64
[src]
Getter for the m31
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn set_m31(&self, value: f64)
[src]
Setter for the m31
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn m32(&self) -> f64
[src]
Getter for the m32
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn set_m32(&self, value: f64)
[src]
Setter for the m32
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn m33(&self) -> f64
[src]
Getter for the m33
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn set_m33(&self, value: f64)
[src]
Setter for the m33
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn m34(&self) -> f64
[src]
Getter for the m34
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn set_m34(&self, value: f64)
[src]
Setter for the m34
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn m41(&self) -> f64
[src]
Getter for the m41
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn set_m41(&self, value: f64)
[src]
Setter for the m41
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn m42(&self) -> f64
[src]
Getter for the m42
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn set_m42(&self, value: f64)
[src]
Setter for the m42
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn m43(&self) -> f64
[src]
Getter for the m43
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn set_m43(&self, value: f64)
[src]
Setter for the m43
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn m44(&self) -> f64
[src]
Getter for the m44
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn set_m44(&self, value: f64)
[src]
Setter for the m44
field of this object.
This API requires the following crate features to be activated: DomMatrix
pub fn invert_self(&self) -> DomMatrix
[src]
The invertSelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn multiply_self(&self, other: &DomMatrix) -> DomMatrix
[src]
The multiplySelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn pre_multiply_self(&self, other: &DomMatrix) -> DomMatrix
[src]
The preMultiplySelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn rotate_axis_angle_self(
&self,
x: f64,
y: f64,
z: f64,
angle: f64
) -> DomMatrix
[src]
&self,
x: f64,
y: f64,
z: f64,
angle: f64
) -> DomMatrix
The rotateAxisAngleSelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn rotate_from_vector_self(&self, x: f64, y: f64) -> DomMatrix
[src]
The rotateFromVectorSelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn rotate_self(&self, angle: f64) -> DomMatrix
[src]
The rotateSelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn rotate_self_with_origin_x(&self, angle: f64, origin_x: f64) -> DomMatrix
[src]
The rotateSelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn rotate_self_with_origin_x_and_origin_y(
&self,
angle: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
[src]
&self,
angle: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
The rotateSelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn scale3d_self(&self, scale: f64) -> DomMatrix
[src]
The scale3dSelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn scale3d_self_with_origin_x(&self, scale: f64, origin_x: f64) -> DomMatrix
[src]
The scale3dSelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn scale3d_self_with_origin_x_and_origin_y(
&self,
scale: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
[src]
&self,
scale: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
The scale3dSelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn scale3d_self_with_origin_x_and_origin_y_and_origin_z(
&self,
scale: f64,
origin_x: f64,
origin_y: f64,
origin_z: f64
) -> DomMatrix
[src]
&self,
scale: f64,
origin_x: f64,
origin_y: f64,
origin_z: f64
) -> DomMatrix
The scale3dSelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn scale_non_uniform_self(&self, scale_x: f64) -> DomMatrix
[src]
The scaleNonUniformSelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn scale_non_uniform_self_with_scale_y(
&self,
scale_x: f64,
scale_y: f64
) -> DomMatrix
[src]
&self,
scale_x: f64,
scale_y: f64
) -> DomMatrix
The scaleNonUniformSelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn scale_non_uniform_self_with_scale_y_and_scale_z(
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64
) -> DomMatrix
[src]
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64
) -> DomMatrix
The scaleNonUniformSelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x(
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64
) -> DomMatrix
[src]
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64
) -> DomMatrix
The scaleNonUniformSelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_and_origin_y(
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
[src]
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
The scaleNonUniformSelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_and_origin_y_and_origin_z(
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64,
origin_y: f64,
origin_z: f64
) -> DomMatrix
[src]
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64,
origin_y: f64,
origin_z: f64
) -> DomMatrix
The scaleNonUniformSelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn scale_self(&self, scale: f64) -> DomMatrix
[src]
The scaleSelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn scale_self_with_origin_x(&self, scale: f64, origin_x: f64) -> DomMatrix
[src]
The scaleSelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn scale_self_with_origin_x_and_origin_y(
&self,
scale: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
[src]
&self,
scale: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
The scaleSelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn set_matrix_value(
&self,
transform_list: &str
) -> Result<DomMatrix, JsValue>
[src]
&self,
transform_list: &str
) -> Result<DomMatrix, JsValue>
The setMatrixValue()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn skew_x_self(&self, sx: f64) -> DomMatrix
[src]
The skewXSelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn skew_y_self(&self, sy: f64) -> DomMatrix
[src]
The skewYSelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn translate_self(&self, tx: f64, ty: f64) -> DomMatrix
[src]
The translateSelf()
method.
This API requires the following crate features to be activated: DomMatrix
pub fn translate_self_with_tz(&self, tx: f64, ty: f64, tz: f64) -> DomMatrix
[src]
The translateSelf()
method.
This API requires the following crate features to be activated: DomMatrix
Methods from Deref<Target = DomMatrixReadOnly>
pub fn a(&self) -> f64
[src]
Getter for the a
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn b(&self) -> f64
[src]
Getter for the b
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn c(&self) -> f64
[src]
Getter for the c
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn d(&self) -> f64
[src]
Getter for the d
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn e(&self) -> f64
[src]
Getter for the e
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn f(&self) -> f64
[src]
Getter for the f
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m11(&self) -> f64
[src]
Getter for the m11
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m12(&self) -> f64
[src]
Getter for the m12
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m13(&self) -> f64
[src]
Getter for the m13
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m14(&self) -> f64
[src]
Getter for the m14
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m21(&self) -> f64
[src]
Getter for the m21
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m22(&self) -> f64
[src]
Getter for the m22
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m23(&self) -> f64
[src]
Getter for the m23
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m24(&self) -> f64
[src]
Getter for the m24
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m31(&self) -> f64
[src]
Getter for the m31
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m32(&self) -> f64
[src]
Getter for the m32
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m33(&self) -> f64
[src]
Getter for the m33
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m34(&self) -> f64
[src]
Getter for the m34
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m41(&self) -> f64
[src]
Getter for the m41
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m42(&self) -> f64
[src]
Getter for the m42
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m43(&self) -> f64
[src]
Getter for the m43
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn m44(&self) -> f64
[src]
Getter for the m44
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn is_2d(&self) -> bool
[src]
Getter for the is2D
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn is_identity(&self) -> bool
[src]
Getter for the isIdentity
field of this object.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn flip_x(&self) -> DomMatrix
[src]
The flipX()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn flip_y(&self) -> DomMatrix
[src]
The flipY()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn inverse(&self) -> DomMatrix
[src]
The inverse()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn multiply(&self, other: &DomMatrix) -> DomMatrix
[src]
The multiply()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn rotate(&self, angle: f64) -> DomMatrix
[src]
The rotate()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn rotate_with_origin_x(&self, angle: f64, origin_x: f64) -> DomMatrix
[src]
The rotate()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn rotate_with_origin_x_and_origin_y(
&self,
angle: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
[src]
&self,
angle: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
The rotate()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn rotate_axis_angle(&self, x: f64, y: f64, z: f64, angle: f64) -> DomMatrix
[src]
The rotateAxisAngle()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn rotate_from_vector(&self, x: f64, y: f64) -> DomMatrix
[src]
The rotateFromVector()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn scale(&self, scale: f64) -> DomMatrix
[src]
The scale()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn scale_with_origin_x(&self, scale: f64, origin_x: f64) -> DomMatrix
[src]
The scale()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn scale_with_origin_x_and_origin_y(
&self,
scale: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
[src]
&self,
scale: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
The scale()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn scale3d(&self, scale: f64) -> DomMatrix
[src]
The scale3d()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn scale3d_with_origin_x(&self, scale: f64, origin_x: f64) -> DomMatrix
[src]
The scale3d()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn scale3d_with_origin_x_and_origin_y(
&self,
scale: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
[src]
&self,
scale: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
The scale3d()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn scale3d_with_origin_x_and_origin_y_and_origin_z(
&self,
scale: f64,
origin_x: f64,
origin_y: f64,
origin_z: f64
) -> DomMatrix
[src]
&self,
scale: f64,
origin_x: f64,
origin_y: f64,
origin_z: f64
) -> DomMatrix
The scale3d()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn scale_non_uniform(&self, scale_x: f64) -> DomMatrix
[src]
The scaleNonUniform()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn scale_non_uniform_with_scale_y(
&self,
scale_x: f64,
scale_y: f64
) -> DomMatrix
[src]
&self,
scale_x: f64,
scale_y: f64
) -> DomMatrix
The scaleNonUniform()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn scale_non_uniform_with_scale_y_and_scale_z(
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64
) -> DomMatrix
[src]
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64
) -> DomMatrix
The scaleNonUniform()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn scale_non_uniform_with_scale_y_and_scale_z_and_origin_x(
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64
) -> DomMatrix
[src]
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64
) -> DomMatrix
The scaleNonUniform()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_and_origin_y(
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
[src]
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64,
origin_y: f64
) -> DomMatrix
The scaleNonUniform()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn scale_non_uniform_with_scale_y_and_scale_z_and_origin_x_and_origin_y_and_origin_z(
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64,
origin_y: f64,
origin_z: f64
) -> DomMatrix
[src]
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64,
origin_x: f64,
origin_y: f64,
origin_z: f64
) -> DomMatrix
The scaleNonUniform()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn skew_x(&self, sx: f64) -> DomMatrix
[src]
The skewX()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn skew_y(&self, sy: f64) -> DomMatrix
[src]
The skewY()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn to_float32_array(&self) -> Result<Vec<f32>, JsValue>
[src]
The toFloat32Array()
method.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn to_float64_array(&self) -> Result<Vec<f64>, JsValue>
[src]
The toFloat64Array()
method.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn to_json(&self) -> Object
[src]
The toJSON()
method.
This API requires the following crate features to be activated: DomMatrixReadOnly
pub fn transform_point(&self) -> DomPoint
[src]
The transformPoint()
method.
This API requires the following crate features to be activated: DomMatrixReadOnly
, DomPoint
pub fn transform_point_with_point(&self, point: &DomPointInit) -> DomPoint
[src]
The transformPoint()
method.
This API requires the following crate features to be activated: DomMatrixReadOnly
, DomPoint
, DomPointInit
pub fn translate(&self, tx: f64, ty: f64) -> DomMatrix
[src]
The translate()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
pub fn translate_with_tz(&self, tx: f64, ty: f64, tz: f64) -> DomMatrix
[src]
The translate()
method.
This API requires the following crate features to be activated: DomMatrix
, DomMatrixReadOnly
Methods from Deref<Target = Object>
pub fn constructor(&self) -> Function
[src]
The constructor property returns a reference to the Object
constructor
function that created the instance object.
pub fn has_own_property(&self, property: &JsValue) -> bool
[src]
The hasOwnProperty()
method returns a boolean indicating whether the
object has the specified property as its own property (as opposed to
inheriting it).
pub fn is_prototype_of(&self, value: &JsValue) -> bool
[src]
The isPrototypeOf()
method checks if an object exists in another
object’s prototype chain.
pub fn property_is_enumerable(&self, property: &JsValue) -> bool
[src]
The propertyIsEnumerable()
method returns a Boolean indicating
whether the specified property is enumerable.
pub fn to_locale_string(&self) -> JsString
[src]
The toLocaleString()
method returns a string representing the object.
This method is meant to be overridden by derived objects for
locale-specific purposes.
pub fn to_string(&self) -> JsString
[src]
The toString()
method returns a string representing the object.
pub fn value_of(&self) -> Object
[src]
The valueOf()
method returns the primitive value of the
specified object.
Methods from Deref<Target = JsValue>
pub const NULL: JsValue
[src]
pub const UNDEFINED: JsValue
[src]
pub const TRUE: JsValue
[src]
pub const FALSE: JsValue
[src]
pub fn as_f64(&self) -> Option<f64>
[src]
Returns the f64
value of this JS value if it’s an instance of a
number.
If this JS value is not an instance of a number then this returns
None
.
pub fn is_string(&self) -> bool
[src]
Tests whether this JS value is a JS string.
pub fn as_string(&self) -> Option<String>
[src]
If this JS value is a string value, this function copies the JS string
value into wasm linear memory, encoded as UTF-8, and returns it as a
Rust String
.
To avoid the copying and re-encoding, consider the
JsString::try_from()
function from js-sys
instead.
If this JS value is not an instance of a string or if it’s not valid
utf-8 then this returns None
.
UTF-16 vs UTF-8
JavaScript strings in general are encoded as UTF-16, but Rust strings
are encoded as UTF-8. This can cause the Rust string to look a bit
different than the JS string sometimes. For more details see the
documentation about the str
type which contains a few
caveats about the encodings.
pub fn as_bool(&self) -> Option<bool>
[src]
Returns the bool
value of this JS value if it’s an instance of a
boolean.
If this JS value is not an instance of a boolean then this returns
None
.
pub fn is_null(&self) -> bool
[src]
Tests whether this JS value is null
pub fn is_undefined(&self) -> bool
[src]
Tests whether this JS value is undefined
pub fn is_symbol(&self) -> bool
[src]
Tests whether the type of this JS value is symbol
pub fn is_object(&self) -> bool
[src]
Tests whether typeof self == "object" && self !== null
.
pub fn is_function(&self) -> bool
[src]
Tests whether the type of this JS value is function
.
pub fn is_truthy(&self) -> bool
[src]
Tests whether the value is “truthy”.
pub fn is_falsy(&self) -> bool
[src]
Tests whether the value is “falsy”.
Trait Implementations
impl AsRef<DomMatrix> for WebKitCssMatrix
[src]
impl AsRef<DomMatrixReadOnly> for WebKitCssMatrix
[src]
fn as_ref(&self) -> &DomMatrixReadOnly
[src]
impl AsRef<JsValue> for WebKitCssMatrix
[src]
impl AsRef<Object> for WebKitCssMatrix
[src]
impl AsRef<WebKitCssMatrix> for WebKitCssMatrix
[src]
fn as_ref(&self) -> &WebKitCssMatrix
[src]
impl Clone for WebKitCssMatrix
[src]
fn clone(&self) -> WebKitCssMatrix
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for WebKitCssMatrix
[src]
impl Deref for WebKitCssMatrix
[src]
impl Eq for WebKitCssMatrix
[src]
impl From<JsValue> for WebKitCssMatrix
[src]
fn from(obj: JsValue) -> WebKitCssMatrix
[src]
impl From<WebKitCssMatrix> for JsValue
[src]
fn from(obj: WebKitCssMatrix) -> JsValue
[src]
impl From<WebKitCssMatrix> for DomMatrix
[src]
fn from(obj: WebKitCssMatrix) -> DomMatrix
[src]
impl From<WebKitCssMatrix> for DomMatrixReadOnly
[src]
fn from(obj: WebKitCssMatrix) -> DomMatrixReadOnly
[src]
impl From<WebKitCssMatrix> for Object
[src]
fn from(obj: WebKitCssMatrix) -> Object
[src]
impl FromWasmAbi for WebKitCssMatrix
[src]
type Abi = <JsValue as FromWasmAbi>::Abi
The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more
unsafe fn from_abi(js: Self::Abi) -> Self
[src]
impl IntoWasmAbi for WebKitCssMatrix
[src]
type Abi = <JsValue as IntoWasmAbi>::Abi
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self) -> Self::Abi
[src]
impl<'a> IntoWasmAbi for &'a WebKitCssMatrix
[src]
type Abi = <&'a JsValue as IntoWasmAbi>::Abi
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self) -> Self::Abi
[src]
impl JsCast for WebKitCssMatrix
[src]
fn instanceof(val: &JsValue) -> bool
[src]
fn unchecked_from_js(val: JsValue) -> Self
[src]
fn unchecked_from_js_ref(val: &JsValue) -> &Self
[src]
pub fn has_type<T>(&self) -> bool where
T: JsCast,
[src]
T: JsCast,
pub fn dyn_into<T>(self) -> Result<T, Self> where
T: JsCast,
[src]
T: JsCast,
pub fn dyn_ref<T>(&self) -> Option<&T> where
T: JsCast,
[src]
T: JsCast,
pub fn unchecked_into<T>(self) -> T where
T: JsCast,
[src]
T: JsCast,
pub fn unchecked_ref<T>(&self) -> &T where
T: JsCast,
[src]
T: JsCast,
pub fn is_instance_of<T>(&self) -> bool where
T: JsCast,
[src]
T: JsCast,
pub fn is_type_of(val: &JsValue) -> bool
[src]
impl OptionFromWasmAbi for WebKitCssMatrix
[src]
impl OptionIntoWasmAbi for WebKitCssMatrix
[src]
impl<'a> OptionIntoWasmAbi for &'a WebKitCssMatrix
[src]
impl PartialEq<WebKitCssMatrix> for WebKitCssMatrix
[src]
fn eq(&self, other: &WebKitCssMatrix) -> bool
[src]
fn ne(&self, other: &WebKitCssMatrix) -> bool
[src]
impl RefFromWasmAbi for WebKitCssMatrix
[src]
type Abi = <JsValue as RefFromWasmAbi>::Abi
The wasm ABI type references to Self
are recovered from.
type Anchor = ManuallyDrop<WebKitCssMatrix>
The type that holds the reference to Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous. Read more
unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
[src]
impl StructuralEq for WebKitCssMatrix
[src]
impl StructuralPartialEq for WebKitCssMatrix
[src]
impl WasmDescribe for WebKitCssMatrix
[src]
Auto Trait Implementations
impl RefUnwindSafe for WebKitCssMatrix
impl !Send for WebKitCssMatrix
impl !Sync for WebKitCssMatrix
impl Unpin for WebKitCssMatrix
impl UnwindSafe for WebKitCssMatrix
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
[src]
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
pub fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,