Struct web_sys::WebKitCssMatrix
source · #[repr(transparent)]pub struct WebKitCssMatrix { /* private fields */ }
Expand description
The WebKitCSSMatrix
object
This API requires the following crate features to be activated: WebKitCssMatrix
Implementations§
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn new() -> Result<WebKitCssMatrix, JsValue>
pub fn new() -> Result<WebKitCssMatrix, JsValue>
The new WebKitCSSMatrix(..)
constructor, creating a new instance of WebKitCSSMatrix
This API requires the following crate features to be activated: WebKitCssMatrix
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn new_with_transform_list(
transform_list: &str
) -> Result<WebKitCssMatrix, JsValue>
pub fn new_with_transform_list(
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
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn new_with_other(
other: &WebKitCssMatrix
) -> Result<WebKitCssMatrix, JsValue>
pub fn new_with_other(
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
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn inverse(&self) -> Result<WebKitCssMatrix, JsValue>
pub fn inverse(&self) -> Result<WebKitCssMatrix, JsValue>
The inverse()
method
This API requires the following crate features to be activated: WebKitCssMatrix
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn multiply(&self, other: &WebKitCssMatrix) -> WebKitCssMatrix
pub fn multiply(&self, other: &WebKitCssMatrix) -> WebKitCssMatrix
The multiply()
method
This API requires the following crate features to be activated: WebKitCssMatrix
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn rotate(&self) -> WebKitCssMatrix
pub fn rotate(&self) -> WebKitCssMatrix
The rotate()
method
This API requires the following crate features to be activated: WebKitCssMatrix
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn rotate_with_rot_x(&self, rot_x: f64) -> WebKitCssMatrix
pub fn rotate_with_rot_x(&self, rot_x: f64) -> WebKitCssMatrix
The rotate()
method
This API requires the following crate features to be activated: WebKitCssMatrix
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn rotate_with_rot_x_and_rot_y(
&self,
rot_x: f64,
rot_y: f64
) -> WebKitCssMatrix
pub fn rotate_with_rot_x_and_rot_y(
&self,
rot_x: f64,
rot_y: f64
) -> WebKitCssMatrix
The rotate()
method
This API requires the following crate features to be activated: WebKitCssMatrix
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn rotate_with_rot_x_and_rot_y_and_rot_z(
&self,
rot_x: f64,
rot_y: f64,
rot_z: f64
) -> WebKitCssMatrix
pub fn rotate_with_rot_x_and_rot_y_and_rot_z(
&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
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn rotate_axis_angle(&self) -> WebKitCssMatrix
pub fn rotate_axis_angle(&self) -> WebKitCssMatrix
The rotateAxisAngle()
method
This API requires the following crate features to be activated: WebKitCssMatrix
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn rotate_axis_angle_with_x(&self, x: f64) -> WebKitCssMatrix
pub fn rotate_axis_angle_with_x(&self, x: f64) -> WebKitCssMatrix
The rotateAxisAngle()
method
This API requires the following crate features to be activated: WebKitCssMatrix
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn rotate_axis_angle_with_x_and_y(&self, x: f64, y: f64) -> WebKitCssMatrix
pub fn rotate_axis_angle_with_x_and_y(&self, x: f64, y: f64) -> WebKitCssMatrix
The rotateAxisAngle()
method
This API requires the following crate features to be activated: WebKitCssMatrix
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn rotate_axis_angle_with_x_and_y_and_z(
&self,
x: f64,
y: f64,
z: f64
) -> WebKitCssMatrix
pub fn rotate_axis_angle_with_x_and_y_and_z(
&self,
x: f64,
y: f64,
z: f64
) -> WebKitCssMatrix
The rotateAxisAngle()
method
This API requires the following crate features to be activated: WebKitCssMatrix
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn rotate_axis_angle_with_x_and_y_and_z_and_angle(
&self,
x: f64,
y: f64,
z: f64,
angle: f64
) -> WebKitCssMatrix
pub fn rotate_axis_angle_with_x_and_y_and_z_and_angle(
&self,
x: f64,
y: f64,
z: f64,
angle: f64
) -> WebKitCssMatrix
The rotateAxisAngle()
method
This API requires the following crate features to be activated: WebKitCssMatrix
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn scale(&self) -> WebKitCssMatrix
pub fn scale(&self) -> WebKitCssMatrix
The scale()
method
This API requires the following crate features to be activated: WebKitCssMatrix
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn scale_with_scale_x(&self, scale_x: f64) -> WebKitCssMatrix
pub fn scale_with_scale_x(&self, scale_x: f64) -> WebKitCssMatrix
The scale()
method
This API requires the following crate features to be activated: WebKitCssMatrix
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn scale_with_scale_x_and_scale_y(
&self,
scale_x: f64,
scale_y: f64
) -> WebKitCssMatrix
pub fn scale_with_scale_x_and_scale_y(
&self,
scale_x: f64,
scale_y: f64
) -> WebKitCssMatrix
The scale()
method
This API requires the following crate features to be activated: WebKitCssMatrix
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn scale_with_scale_x_and_scale_y_and_scale_z(
&self,
scale_x: f64,
scale_y: f64,
scale_z: f64
) -> WebKitCssMatrix
pub fn scale_with_scale_x_and_scale_y_and_scale_z(
&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
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn set_matrix_value(
&self,
transform_list: &str
) -> Result<WebKitCssMatrix, JsValue>
pub fn set_matrix_value(
&self,
transform_list: &str
) -> Result<WebKitCssMatrix, JsValue>
The setMatrixValue()
method
This API requires the following crate features to be activated: WebKitCssMatrix
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn skew_x(&self) -> WebKitCssMatrix
pub fn skew_x(&self) -> WebKitCssMatrix
The skewX()
method
This API requires the following crate features to be activated: WebKitCssMatrix
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn skew_x_with_sx(&self, sx: f64) -> WebKitCssMatrix
pub fn skew_x_with_sx(&self, sx: f64) -> WebKitCssMatrix
The skewX()
method
This API requires the following crate features to be activated: WebKitCssMatrix
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn skew_y(&self) -> WebKitCssMatrix
pub fn skew_y(&self) -> WebKitCssMatrix
The skewY()
method
This API requires the following crate features to be activated: WebKitCssMatrix
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn skew_y_with_sy(&self, sy: f64) -> WebKitCssMatrix
pub fn skew_y_with_sy(&self, sy: f64) -> WebKitCssMatrix
The skewY()
method
This API requires the following crate features to be activated: WebKitCssMatrix
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn translate(&self) -> WebKitCssMatrix
pub fn translate(&self) -> WebKitCssMatrix
The translate()
method
This API requires the following crate features to be activated: WebKitCssMatrix
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn translate_with_tx(&self, tx: f64) -> WebKitCssMatrix
pub fn translate_with_tx(&self, tx: f64) -> WebKitCssMatrix
The translate()
method
This API requires the following crate features to be activated: WebKitCssMatrix
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn translate_with_tx_and_ty(&self, tx: f64, ty: f64) -> WebKitCssMatrix
pub fn translate_with_tx_and_ty(&self, tx: f64, ty: f64) -> WebKitCssMatrix
The translate()
method
This API requires the following crate features to be activated: WebKitCssMatrix
source§impl WebKitCssMatrix
impl WebKitCssMatrix
sourcepub fn translate_with_tx_and_ty_and_tz(
&self,
tx: f64,
ty: f64,
tz: f64
) -> WebKitCssMatrix
pub fn translate_with_tx_and_ty_and_tz(
&self,
tx: f64,
ty: f64,
tz: f64
) -> WebKitCssMatrix
The translate()
method
This API requires the following crate features to be activated: WebKitCssMatrix
Trait Implementations§
source§impl AsRef<DomMatrix> for WebKitCssMatrix
impl AsRef<DomMatrix> for WebKitCssMatrix
source§impl AsRef<DomMatrixReadOnly> for WebKitCssMatrix
impl AsRef<DomMatrixReadOnly> for WebKitCssMatrix
source§fn as_ref(&self) -> &DomMatrixReadOnly
fn as_ref(&self) -> &DomMatrixReadOnly
source§impl AsRef<JsValue> for WebKitCssMatrix
impl AsRef<JsValue> for WebKitCssMatrix
source§impl AsRef<Object> for WebKitCssMatrix
impl AsRef<Object> for WebKitCssMatrix
source§impl Clone for WebKitCssMatrix
impl Clone for WebKitCssMatrix
source§fn clone(&self) -> WebKitCssMatrix
fn clone(&self) -> WebKitCssMatrix
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WebKitCssMatrix
impl Debug for WebKitCssMatrix
source§impl From<JsValue> for WebKitCssMatrix
impl From<JsValue> for WebKitCssMatrix
source§fn from(obj: JsValue) -> WebKitCssMatrix
fn from(obj: JsValue) -> WebKitCssMatrix
source§impl From<WebKitCssMatrix> for DomMatrix
impl From<WebKitCssMatrix> for DomMatrix
source§fn from(obj: WebKitCssMatrix) -> DomMatrix
fn from(obj: WebKitCssMatrix) -> DomMatrix
source§impl From<WebKitCssMatrix> for DomMatrixReadOnly
impl From<WebKitCssMatrix> for DomMatrixReadOnly
source§fn from(obj: WebKitCssMatrix) -> DomMatrixReadOnly
fn from(obj: WebKitCssMatrix) -> DomMatrixReadOnly
source§impl From<WebKitCssMatrix> for JsValue
impl From<WebKitCssMatrix> for JsValue
source§fn from(obj: WebKitCssMatrix) -> JsValue
fn from(obj: WebKitCssMatrix) -> JsValue
source§impl From<WebKitCssMatrix> for Object
impl From<WebKitCssMatrix> for Object
source§fn from(obj: WebKitCssMatrix) -> Object
fn from(obj: WebKitCssMatrix) -> Object
source§impl FromWasmAbi for WebKitCssMatrix
impl FromWasmAbi for WebKitCssMatrix
source§impl<'a> IntoWasmAbi for &'a WebKitCssMatrix
impl<'a> IntoWasmAbi for &'a WebKitCssMatrix
source§impl IntoWasmAbi for WebKitCssMatrix
impl IntoWasmAbi for WebKitCssMatrix
source§impl JsCast for WebKitCssMatrix
impl JsCast for WebKitCssMatrix
source§fn instanceof(val: &JsValue) -> bool
fn instanceof(val: &JsValue) -> bool
instanceof
check to see whether the JsValue
provided is an instance of this type. Read moresource§fn unchecked_from_js(val: JsValue) -> Self
fn unchecked_from_js(val: JsValue) -> Self
source§fn unchecked_from_js_ref(val: &JsValue) -> &Self
fn unchecked_from_js_ref(val: &JsValue) -> &Self
source§fn is_instance_of<T>(&self) -> boolwhere
T: JsCast,
fn is_instance_of<T>(&self) -> boolwhere
T: JsCast,
T
. Read moresource§fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
T
. Read moresource§fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
T
. Read moresource§fn unchecked_into<T>(self) -> Twhere
T: JsCast,
fn unchecked_into<T>(self) -> Twhere
T: JsCast,
source§impl OptionFromWasmAbi for WebKitCssMatrix
impl OptionFromWasmAbi for WebKitCssMatrix
source§impl<'a> OptionIntoWasmAbi for &'a WebKitCssMatrix
impl<'a> OptionIntoWasmAbi for &'a WebKitCssMatrix
source§impl OptionIntoWasmAbi for WebKitCssMatrix
impl OptionIntoWasmAbi for WebKitCssMatrix
source§impl RefFromWasmAbi for WebKitCssMatrix
impl RefFromWasmAbi for WebKitCssMatrix
§type Abi = <JsValue as RefFromWasmAbi>::Abi
type Abi = <JsValue as RefFromWasmAbi>::Abi
Self
are recovered from.§type Anchor = ManuallyDrop<WebKitCssMatrix>
type Anchor = ManuallyDrop<WebKitCssMatrix>
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 moreAuto Trait Implementations§
impl RefUnwindSafe for WebKitCssMatrix
impl !Send for WebKitCssMatrix
impl !Sync for WebKitCssMatrix
impl Unpin for WebKitCssMatrix
impl UnwindSafe for WebKitCssMatrix
Blanket Implementations§
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
IntoWasmAbi::Abi
source§fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more