414 lines
240 KiB
HTML
414 lines
240 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A 4x4 column major matrix."><title>Mat4 in bevy_math - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="bevy_math" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.0 (9fc6b4312 2025-01-07)" data-channel="1.84.0" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../static.files/storage-59e33391.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-893ab5e7.css"></noscript><link rel="icon" href="https://bevyengine.org/assets/icon.png"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../bevy_math/index.html"><img src="https://bevyengine.org/assets/icon.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../bevy_math/index.html"><img src="https://bevyengine.org/assets/icon.png" alt="logo"></a><h2><a href="../bevy_math/index.html">bevy_<wbr>math</a><span class="version">0.15.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Mat4</a></h2><h3><a href="#fields">Fields</a></h3><ul class="block structfield"><li><a href="#structfield.w_axis" title="w_axis">w_axis</a></li><li><a href="#structfield.x_axis" title="x_axis">x_axis</a></li><li><a href="#structfield.y_axis" title="y_axis">y_axis</a></li><li><a href="#structfield.z_axis" title="z_axis">z_axis</a></li></ul><h3><a href="#implementations">Associated Constants</a></h3><ul class="block associatedconstant"><li><a href="#associatedconstant.IDENTITY" title="IDENTITY">IDENTITY</a></li><li><a href="#associatedconstant.NAN" title="NAN">NAN</a></li><li><a href="#associatedconstant.ZERO" title="ZERO">ZERO</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.abs" title="abs">abs</a></li><li><a href="#method.abs_diff_eq" title="abs_diff_eq">abs_diff_eq</a></li><li><a href="#method.add_mat4" title="add_mat4">add_mat4</a></li><li><a href="#method.as_dmat4" title="as_dmat4">as_dmat4</a></li><li><a href="#method.col" title="col">col</a></li><li><a href="#method.col_mut" title="col_mut">col_mut</a></li><li><a href="#method.determinant" title="determinant">determinant</a></li><li><a href="#method.div_scalar" title="div_scalar">div_scalar</a></li><li><a href="#method.from_axis_angle" title="from_axis_angle">from_axis_angle</a></li><li><a href="#method.from_cols" title="from_cols">from_cols</a></li><li><a href="#method.from_cols_array" title="from_cols_array">from_cols_array</a></li><li><a href="#method.from_cols_array_2d" title="from_cols_array_2d">from_cols_array_2d</a></li><li><a href="#method.from_cols_slice" title="from_cols_slice">from_cols_slice</a></li><li><a href="#method.from_diagonal" title="from_diagonal">from_diagonal</a></li><li><a href="#method.from_euler" title="from_euler">from_euler</a></li><li><a href="#method.from_mat3" title="from_mat3">from_mat3</a></li><li><a href="#method.from_mat3a" title="from_mat3a">from_mat3a</a></li><li><a href="#method.from_quat" title="from_quat">from_quat</a></li><li><a href="#method.from_rotation_translation" title="from_rotation_translation">from_rotation_translation</a></li><li><a href="#method.from_rotation_x" title="from_rotation_x">from_rotation_x</a></li><li><a href="#method.from_rotation_y" title="from_rotation_y">from_rotation_y</a></li><li><a href="#method.from_rotation_z" title="from_rotation_z">from_rotation_z</a></li><li><a href="#method.from_scale" title="from_scale">from_scale</a></li><li><a href="#method.from_scale_rotation_translation" title="from_scale_rotation_translation">from_scale_rotation_translation</a></li><li><a href="#method.from_translation" title="from_translation">from_translation</a></li><li><a href="#method.inverse" title="inverse">inverse</a></li><li><a href="#method.is_finite" title="is_finite">is_finite</a></li><li><a href="#method.is_nan" title="is_nan">is_nan</a></li><li><a href="#method.look_at_lh" title="look_at_lh">look_at_lh</a></li><li><a href="#method.look_at_rh" title="look_at_rh">look_at_rh</a></li><li><a href="#method.look_to_lh" title="look_to_lh">look_to_lh</a></li><li><a href="#method.look_to_rh" title="look_to_rh">look_to_rh</a></li><li><a href="#method.mul_mat4" title="mul_mat4">mul_mat4</a></li><li><a href="#method.mul_scalar" title="mul_scalar">mul_scalar</a></li><li><a href="#method.mul_vec4" title="mul_vec4">mul_vec4</a></li><li><a href="#method.orthographic_lh" title="orthographic_lh">orthographic_lh</a></li><li><a href="#method.orthographic_rh" title="orthographic_rh">orthographic_rh</a></li><li><a href="#method.orthographic_rh_gl" title="orthographic_rh_gl">orthographic_rh_gl</a></li><li><a href="#method.perspective_infinite_lh" title="perspective_infinite_lh">perspective_infinite_lh</a></li><li><a href="#method.perspective_infinite_reverse_lh" title="perspective_infinite_reverse_lh">perspective_infinite_reverse_lh</a></li><li><a href="#method.perspective_infinite_reverse_rh" title="perspective_infinite_reverse_rh">perspective_infinite_reverse_rh</a></li><li><a href="#method.perspective_infinite_rh" title="perspective_infinite_rh">perspective_infinite_rh</a></li><li><a href="#method.perspective_lh" title="perspective_lh">perspective_lh</a></li><li><a href="#method.perspective_rh" title="perspective_rh">perspective_rh</a></li><li><a href="#method.perspective_rh_gl" title="perspective_rh_gl">perspective_rh_gl</a></li><li><a href="#method.project_point3" title="project_point3">project_point3</a></li><li><a href="#method.project_point3a" title="project_point3a">project_point3a</a></li><li><a href="#method.row" title="row">row</a></li><li><a href="#method.sub_mat4" title="sub_mat4">sub_mat4</a></li><li><a href="#method.to_cols_array" title="to_cols_array">to_cols_array</a></li><li><a href="#method.to_cols_array_2d" title="to_cols_array_2d">to_cols_array_2d</a></li><li><a href="#method.to_euler" title="to_euler">to_euler</a></li><li><a href="#method.to_scale_rotation_translation" title="to_scale_rotation_translation">to_scale_rotation_translation</a></li><li><a href="#method.transform_point3" title="transform_point3">transform_point3</a></li><li><a href="#method.transform_point3a" title="transform_point3a">transform_point3a</a></li><li><a href="#method.transform_vector3" title="transform_vector3">transform_vector3</a></li><li><a href="#method.transform_vector3a" title="transform_vector3a">transform_vector3a</a></li><li><a href="#method.transpose" title="transpose">transpose</a></li><li><a href="#method.write_cols_to_slice" title="write_cols_to_slice">write_cols_to_slice</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Add-for-Mat4" title="Add">Add</a></li><li><a href="#impl-AddAssign-for-Mat4" title="AddAssign">AddAssign</a></li><li><a href="#impl-AsMut%3C%5Bf32;+16%5D%3E-for-Mat4" title="AsMut<[f32; 16]>">AsMut<[f32; 16]></a></li><li><a href="#impl-AsRef%3C%5Bf32;+16%5D%3E-for-Mat4" title="AsRef<[f32; 16]>">AsRef<[f32; 16]></a></li><li><a href="#impl-Clone-for-Mat4" title="Clone">Clone</a></li><li><a href="#impl-Copy-for-Mat4" title="Copy">Copy</a></li><li><a href="#impl-Debug-for-Mat4" title="Debug">Debug</a></li><li><a href="#impl-Default-for-Mat4" title="Default">Default</a></li><li><a href="#impl-Deserialize%3C'de%3E-for-Mat4" title="Deserialize<'de>">Deserialize<'de></a></li><li><a href="#impl-Display-for-Mat4" title="Display">Display</a></li><li><a href="#impl-Div%3Cf32%3E-for-Mat4" title="Div<f32>">Div<f32></a></li><li><a href="#impl-DivAssign%3Cf32%3E-for-Mat4" title="DivAssign<f32>">DivAssign<f32></a></li><li><a href="#impl-From%3CAffine3A%3E-for-Mat4" title="From<Affine3A>">From<Affine3A></a></li><li><a href="#impl-FromReflect-for-Mat4" title="FromReflect">FromReflect</a></li><li><a href="#impl-GetTypeRegistration-for-Mat4" title="GetTypeRegistration">GetTypeRegistration</a></li><li><a href="#impl-Mul-for-Mat4" title="Mul">Mul</a></li><li><a href="#impl-Mul%3CAffine3A%3E-for-Mat4" title="Mul<Affine3A>">Mul<Affine3A></a></li><li><a href="#impl-Mul%3CMat4%3E-for-Affine3A" title="Mul<Mat4>">Mul<Mat4></a></li><li><a href="#impl-Mul%3CVec4%3E-for-Mat4" title="Mul<Vec4>">Mul<Vec4></a></li><li><a href="#impl-Mul%3Cf32%3E-for-Mat4" title="Mul<f32>">Mul<f32></a></li><li><a href="#impl-MulAssign-for-Mat4" title="MulAssign">MulAssign</a></li><li><a href="#impl-MulAssign%3Cf32%3E-for-Mat4" title="MulAssign<f32>">MulAssign<f32></a></li><li><a href="#impl-Neg-for-Mat4" title="Neg">Neg</a></li><li><a href="#impl-PartialEq-for-Mat4" title="PartialEq">PartialEq</a></li><li><a href="#impl-PartialReflect-for-Mat4" title="PartialReflect">PartialReflect</a></li><li><a href="#impl-Pod-for-Mat4" title="Pod">Pod</a></li><li><a href="#impl-Product-for-Mat4" title="Product">Product</a></li><li><a href="#impl-Product%3C%26Mat4%3E-for-Mat4" title="Product<&'a Mat4>">Product<&'a Mat4></a></li><li><a href="#impl-Reflect-for-Mat4" title="Reflect">Reflect</a></li><li><a href="#impl-Serialize-for-Mat4" title="Serialize">Serialize</a></li><li><a href="#impl-Struct-for-Mat4" title="Struct">Struct</a></li><li><a href="#impl-Sub-for-Mat4" title="Sub">Sub</a></li><li><a href="#impl-SubAssign-for-Mat4" title="SubAssign">SubAssign</a></li><li><a href="#impl-Sum-for-Mat4" title="Sum">Sum</a></li><li><a href="#impl-Sum%3C%26Mat4%3E-for-Mat4" title="Sum<&'a Mat4>">Sum<&'a Mat4></a></li><li><a href="#impl-TypePath-for-Mat4" title="TypePath">TypePath</a></li><li><a href="#impl-Typed-for-Mat4" title="Typed">Typed</a></li><li><a href="#impl-Zeroable-for-Mat4" title="Zeroable">Zeroable</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-Mat4" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-Mat4" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Mat4" title="Send">Send</a></li><li><a href="#impl-Sync-for-Mat4" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-Mat4" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Mat4" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-AnyBitPattern-for-T" title="AnyBitPattern">AnyBitPattern</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow<T>">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut<T>">BorrowMut<T></a></li><li><a href="#impl-CheckedBitPattern-for-T" title="CheckedBitPattern">CheckedBitPattern</a></li><li><a href="#impl-CloneToUninit-for-T" title="CloneToUninit">CloneToUninit</a></li><li><a href="#impl-ConditionalSend-for-T" title="ConditionalSend">ConditionalSend</a></li><li><a href="#impl-DeserializeOwned-for-T" title="DeserializeOwned">DeserializeOwned</a></li><li><a href="#impl-Downcast-for-T" title="Downcast">Downcast</a></li><li><a href="#impl-DowncastSync-for-T" title="DowncastSync">DowncastSync</a></li><li><a href="#impl-DynamicTypePath-for-T" title="DynamicTypePath">DynamicTypePath</a></li><li><a href="#impl-DynamicTyped-for-T" title="DynamicTyped">DynamicTyped</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From<T>">From<T></a></li><li><a href="#impl-GetField-for-S" title="GetField">GetField</a></li><li><a href="#impl-GetPath-for-T" title="GetPath">GetPath</a></li><li><a href="#impl-Instrument-for-T" title="Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into<U>">Into<U></a></li><li><a href="#impl-IntoEither-for-T" title="IntoEither">IntoEither</a></li><li><a href="#impl-NoUninit-for-T" title="NoUninit">NoUninit</a></li><li><a href="#impl-Reflectable-for-T" title="Reflectable">Reflectable</a></li><li><a href="#impl-Serialize-for-T" title="Serialize">Serialize</a></li><li><a href="#impl-ToOwned-for-T" title="ToOwned">ToOwned</a></li><li><a href="#impl-ToSmolStr-for-T" title="ToSmolStr">ToSmolStr</a></li><li><a href="#impl-ToString-for-T" title="ToString">ToString</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom<U>">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto<U>">TryInto<U></a></li><li><a href="#impl-TypeData-for-T" title="TypeData">TypeData</a></li><li><a href="#impl-VZip%3CV%3E-for-T" title="VZip<V>">VZip<V></a></li><li><a href="#impl-WithSubscriber-for-T" title="WithSubscriber">WithSubscriber</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate bevy_<wbr>math</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="index.html">bevy_math</a></span><h1>Struct <span class="struct">Mat4</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/glam/f32/sse2/mat4.rs.html#57">Source</a> </span></div><pre class="rust item-decl"><code><div class="code-attribute">#[repr(C)]</div>pub struct Mat4 {
|
||
pub x_axis: <a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a>,
|
||
pub y_axis: <a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a>,
|
||
pub z_axis: <a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a>,
|
||
pub w_axis: <a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a>,
|
||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A 4x4 column major matrix.</p>
|
||
<p>This 4x4 matrix type features convenience methods for creating and using affine transforms and
|
||
perspective projections. If you are primarily dealing with 3D affine transformations
|
||
considering using <a href="struct.Affine3A.html" title="struct bevy_math::Affine3A"><code>Affine3A</code></a> which is faster than a 4x4 matrix
|
||
for some affine operations.</p>
|
||
<p>Affine transformations including 3D translation, rotation and scale can be created
|
||
using methods such as <a href="struct.Mat4.html#method.from_translation" title="associated function bevy_math::Mat4::from_translation"><code>Self::from_translation()</code></a>, <a href="struct.Mat4.html#method.from_quat" title="associated function bevy_math::Mat4::from_quat"><code>Self::from_quat()</code></a>,
|
||
<a href="struct.Mat4.html#method.from_scale" title="associated function bevy_math::Mat4::from_scale"><code>Self::from_scale()</code></a> and <a href="struct.Mat4.html#method.from_scale_rotation_translation" title="associated function bevy_math::Mat4::from_scale_rotation_translation"><code>Self::from_scale_rotation_translation()</code></a>.</p>
|
||
<p>Orthographic projections can be created using the methods <a href="struct.Mat4.html#method.orthographic_lh" title="associated function bevy_math::Mat4::orthographic_lh"><code>Self::orthographic_lh()</code></a> for
|
||
left-handed coordinate systems and <a href="struct.Mat4.html#method.orthographic_rh" title="associated function bevy_math::Mat4::orthographic_rh"><code>Self::orthographic_rh()</code></a> for right-handed
|
||
systems. The resulting matrix is also an affine transformation.</p>
|
||
<p>The <a href="struct.Mat4.html#method.transform_point3" title="method bevy_math::Mat4::transform_point3"><code>Self::transform_point3()</code></a> and <a href="struct.Mat4.html#method.transform_vector3" title="method bevy_math::Mat4::transform_vector3"><code>Self::transform_vector3()</code></a> convenience methods
|
||
are provided for performing affine transformations on 3D vectors and points. These
|
||
multiply 3D inputs as 4D vectors with an implicit <code>w</code> value of <code>1</code> for points and <code>0</code>
|
||
for vectors respectively. These methods assume that <code>Self</code> contains a valid affine
|
||
transform.</p>
|
||
<p>Perspective projections can be created using methods such as
|
||
<a href="struct.Mat4.html#method.perspective_lh" title="associated function bevy_math::Mat4::perspective_lh"><code>Self::perspective_lh()</code></a>, <a href="struct.Mat4.html#method.perspective_infinite_lh" title="associated function bevy_math::Mat4::perspective_infinite_lh"><code>Self::perspective_infinite_lh()</code></a> and
|
||
<a href="struct.Mat4.html#method.perspective_infinite_reverse_lh" title="associated function bevy_math::Mat4::perspective_infinite_reverse_lh"><code>Self::perspective_infinite_reverse_lh()</code></a> for left-handed co-ordinate systems and
|
||
<a href="struct.Mat4.html#method.perspective_rh" title="associated function bevy_math::Mat4::perspective_rh"><code>Self::perspective_rh()</code></a>, <a href="struct.Mat4.html#method.perspective_infinite_rh" title="associated function bevy_math::Mat4::perspective_infinite_rh"><code>Self::perspective_infinite_rh()</code></a> and
|
||
<a href="struct.Mat4.html#method.perspective_infinite_reverse_rh" title="associated function bevy_math::Mat4::perspective_infinite_reverse_rh"><code>Self::perspective_infinite_reverse_rh()</code></a> for right-handed co-ordinate systems.</p>
|
||
<p>The resulting perspective project can be use to transform 3D vectors as points with
|
||
perspective correction using the <a href="struct.Mat4.html#method.project_point3" title="method bevy_math::Mat4::project_point3"><code>Self::project_point3()</code></a> convenience method.</p>
|
||
</div></details><h2 id="fields" class="fields section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.x_axis" class="structfield section-header"><a href="#structfield.x_axis" class="anchor field">§</a><code>x_axis: <a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a></code></span><span id="structfield.y_axis" class="structfield section-header"><a href="#structfield.y_axis" class="anchor field">§</a><code>y_axis: <a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a></code></span><span id="structfield.z_axis" class="structfield section-header"><a href="#structfield.z_axis" class="anchor field">§</a><code>z_axis: <a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a></code></span><span id="structfield.w_axis" class="structfield section-header"><a href="#structfield.w_axis" class="anchor field">§</a><code>w_axis: <a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a></code></span><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#64">Source</a><a href="#impl-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.ZERO" class="associatedconstant"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#66">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.ZERO" class="constant">ZERO</a>: <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a> = _</h4></section></summary><div class="docblock"><p>A 4x4 matrix with all elements set to <code>0.0</code>.</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.IDENTITY" class="associatedconstant"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#69">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.IDENTITY" class="constant">IDENTITY</a>: <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a> = _</h4></section></summary><div class="docblock"><p>A 4x4 identity matrix, where all diagonal elements are <code>1</code>, and all off-diagonal elements are <code>0</code>.</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.NAN" class="associatedconstant"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#72">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.NAN" class="constant">NAN</a>: <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a> = _</h4></section></summary><div class="docblock"><p>All NAN:s.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_cols" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#106">Source</a><h4 class="code-header">pub const fn <a href="#method.from_cols" class="fn">from_cols</a>(
|
||
x_axis: <a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a>,
|
||
y_axis: <a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a>,
|
||
z_axis: <a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a>,
|
||
w_axis: <a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a>,
|
||
) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates a 4x4 matrix from four column vectors.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_cols_array" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#120">Source</a><h4 class="code-header">pub const fn <a href="#method.from_cols_array" class="fn">from_cols_array</a>(m: &[<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.array.html">16</a>]) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates a 4x4 matrix from a <code>[f32; 16]</code> array stored in column major order.
|
||
If your data is stored in row major you will need to <code>transpose</code> the returned
|
||
matrix.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_cols_array" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#131">Source</a><h4 class="code-header">pub const fn <a href="#method.to_cols_array" class="fn">to_cols_array</a>(&self) -> [<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.array.html">16</a>]</h4></section></summary><div class="docblock"><p>Creates a <code>[f32; 16]</code> array storing data in column major order.
|
||
If you require data in row major order <code>transpose</code> the matrix first.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_cols_array_2d" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#148">Source</a><h4 class="code-header">pub const fn <a href="#method.from_cols_array_2d" class="fn">from_cols_array_2d</a>(m: &[[<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.array.html">4</a>]; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.array.html">4</a>]) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates a 4x4 matrix from a <code>[[f32; 4]; 4]</code> 4D array stored in column major order.
|
||
If your data is in row major order you will need to <code>transpose</code> the returned
|
||
matrix.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_cols_array_2d" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#161">Source</a><h4 class="code-header">pub const fn <a href="#method.to_cols_array_2d" class="fn">to_cols_array_2d</a>(&self) -> [[<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.array.html">4</a>]; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.array.html">4</a>]</h4></section></summary><div class="docblock"><p>Creates a <code>[[f32; 4]; 4]</code> 4D array storing data in column major order.
|
||
If you require data in row major order <code>transpose</code> the matrix first.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_diagonal" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#174">Source</a><h4 class="code-header">pub const fn <a href="#method.from_diagonal" class="fn">from_diagonal</a>(diagonal: <a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a>) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates a 4x4 matrix with its diagonal set to <code>diagonal</code> and all other entries set to 0.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_scale_rotation_translation" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#218">Source</a><h4 class="code-header">pub fn <a href="#method.from_scale_rotation_translation" class="fn">from_scale_rotation_translation</a>(
|
||
scale: <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a>,
|
||
rotation: <a class="struct" href="struct.Quat.html" title="struct bevy_math::Quat">Quat</a>,
|
||
translation: <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a>,
|
||
) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates an affine transformation matrix from the given 3D <code>scale</code>, <code>rotation</code> and
|
||
<code>translation</code>.</p>
|
||
<p>The resulting matrix can be used to transform 3D points and vectors. See
|
||
<a href="struct.Mat4.html#method.transform_point3" title="method bevy_math::Mat4::transform_point3"><code>Self::transform_point3()</code></a> and <a href="struct.Mat4.html#method.transform_vector3" title="method bevy_math::Mat4::transform_vector3"><code>Self::transform_vector3()</code></a>.</p>
|
||
<h5 id="panics"><a class="doc-anchor" href="#panics">§</a>Panics</h5>
|
||
<p>Will panic if <code>rotation</code> is not normalized when <code>glam_assert</code> is enabled.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_rotation_translation" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#238">Source</a><h4 class="code-header">pub fn <a href="#method.from_rotation_translation" class="fn">from_rotation_translation</a>(rotation: <a class="struct" href="struct.Quat.html" title="struct bevy_math::Quat">Quat</a>, translation: <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a>) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates an affine transformation matrix from the given 3D <code>translation</code>.</p>
|
||
<p>The resulting matrix can be used to transform 3D points and vectors. See
|
||
<a href="struct.Mat4.html#method.transform_point3" title="method bevy_math::Mat4::transform_point3"><code>Self::transform_point3()</code></a> and <a href="struct.Mat4.html#method.transform_vector3" title="method bevy_math::Mat4::transform_vector3"><code>Self::transform_vector3()</code></a>.</p>
|
||
<h5 id="panics-1"><a class="doc-anchor" href="#panics-1">§</a>Panics</h5>
|
||
<p>Will panic if <code>rotation</code> is not normalized when <code>glam_assert</code> is enabled.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_scale_rotation_translation" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#252">Source</a><h4 class="code-header">pub fn <a href="#method.to_scale_rotation_translation" class="fn">to_scale_rotation_translation</a>(&self) -> (<a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a>, <a class="struct" href="struct.Quat.html" title="struct bevy_math::Quat">Quat</a>, <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a>)</h4></section></summary><div class="docblock"><p>Extracts <code>scale</code>, <code>rotation</code> and <code>translation</code> from <code>self</code>. The input matrix is
|
||
expected to be a 3D affine transformation matrix otherwise the output will be invalid.</p>
|
||
<h5 id="panics-2"><a class="doc-anchor" href="#panics-2">§</a>Panics</h5>
|
||
<p>Will panic if the determinant of <code>self</code> is zero or if the resulting scale vector
|
||
contains any zero elements when <code>glam_assert</code> is enabled.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_quat" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#287">Source</a><h4 class="code-header">pub fn <a href="#method.from_quat" class="fn">from_quat</a>(rotation: <a class="struct" href="struct.Quat.html" title="struct bevy_math::Quat">Quat</a>) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates an affine transformation matrix from the given <code>rotation</code> quaternion.</p>
|
||
<p>The resulting matrix can be used to transform 3D points and vectors. See
|
||
<a href="struct.Mat4.html#method.transform_point3" title="method bevy_math::Mat4::transform_point3"><code>Self::transform_point3()</code></a> and <a href="struct.Mat4.html#method.transform_vector3" title="method bevy_math::Mat4::transform_vector3"><code>Self::transform_vector3()</code></a>.</p>
|
||
<h5 id="panics-3"><a class="doc-anchor" href="#panics-3">§</a>Panics</h5>
|
||
<p>Will panic if <code>rotation</code> is not normalized when <code>glam_assert</code> is enabled.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_mat3" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#299">Source</a><h4 class="code-header">pub fn <a href="#method.from_mat3" class="fn">from_mat3</a>(m: <a class="struct" href="struct.Mat3.html" title="struct bevy_math::Mat3">Mat3</a>) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates an affine transformation matrix from the given 3x3 linear transformation
|
||
matrix.</p>
|
||
<p>The resulting matrix can be used to transform 3D points and vectors. See
|
||
<a href="struct.Mat4.html#method.transform_point3" title="method bevy_math::Mat4::transform_point3"><code>Self::transform_point3()</code></a> and <a href="struct.Mat4.html#method.transform_vector3" title="method bevy_math::Mat4::transform_vector3"><code>Self::transform_vector3()</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_mat3a" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#315">Source</a><h4 class="code-header">pub fn <a href="#method.from_mat3a" class="fn">from_mat3a</a>(m: <a class="struct" href="struct.Mat3A.html" title="struct bevy_math::Mat3A">Mat3A</a>) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates an affine transformation matrix from the given 3x3 linear transformation
|
||
matrix.</p>
|
||
<p>The resulting matrix can be used to transform 3D points and vectors. See
|
||
<a href="struct.Mat4.html#method.transform_point3" title="method bevy_math::Mat4::transform_point3"><code>Self::transform_point3()</code></a> and <a href="struct.Mat4.html#method.transform_vector3" title="method bevy_math::Mat4::transform_vector3"><code>Self::transform_vector3()</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_translation" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#330">Source</a><h4 class="code-header">pub fn <a href="#method.from_translation" class="fn">from_translation</a>(translation: <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a>) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates an affine transformation matrix from the given 3D <code>translation</code>.</p>
|
||
<p>The resulting matrix can be used to transform 3D points and vectors. See
|
||
<a href="struct.Mat4.html#method.transform_point3" title="method bevy_math::Mat4::transform_point3"><code>Self::transform_point3()</code></a> and <a href="struct.Mat4.html#method.transform_vector3" title="method bevy_math::Mat4::transform_vector3"><code>Self::transform_vector3()</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_axis_angle" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#350">Source</a><h4 class="code-header">pub fn <a href="#method.from_axis_angle" class="fn">from_axis_angle</a>(axis: <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a>, angle: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates an affine transformation matrix containing a 3D rotation around a normalized
|
||
rotation <code>axis</code> of <code>angle</code> (in radians).</p>
|
||
<p>The resulting matrix can be used to transform 3D points and vectors. See
|
||
<a href="struct.Mat4.html#method.transform_point3" title="method bevy_math::Mat4::transform_point3"><code>Self::transform_point3()</code></a> and <a href="struct.Mat4.html#method.transform_vector3" title="method bevy_math::Mat4::transform_vector3"><code>Self::transform_vector3()</code></a>.</p>
|
||
<h5 id="panics-4"><a class="doc-anchor" href="#panics-4">§</a>Panics</h5>
|
||
<p>Will panic if <code>axis</code> is not normalized when <code>glam_assert</code> is enabled.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_euler" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#390">Source</a><h4 class="code-header">pub fn <a href="#method.from_euler" class="fn">from_euler</a>(order: <a class="enum" href="enum.EulerRot.html" title="enum bevy_math::EulerRot">EulerRot</a>, a: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, b: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, c: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates a affine transformation matrix containing a rotation from the given euler
|
||
rotation sequence and angles (in radians).</p>
|
||
<p>The resulting matrix can be used to transform 3D points and vectors. See
|
||
<a href="struct.Mat4.html#method.transform_point3" title="method bevy_math::Mat4::transform_point3"><code>Self::transform_point3()</code></a> and <a href="struct.Mat4.html#method.transform_vector3" title="method bevy_math::Mat4::transform_vector3"><code>Self::transform_vector3()</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_euler" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#405">Source</a><h4 class="code-header">pub fn <a href="#method.to_euler" class="fn">to_euler</a>(&self, order: <a class="enum" href="enum.EulerRot.html" title="enum bevy_math::EulerRot">EulerRot</a>) -> (<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>)</h4></section></summary><div class="docblock"><p>Extract Euler angles with the given Euler rotation order.</p>
|
||
<p>Note if the upper 3x3 matrix contain scales, shears, or other non-rotation transformations
|
||
then the resulting Euler angles will be ill-defined.</p>
|
||
<h5 id="panics-5"><a class="doc-anchor" href="#panics-5">§</a>Panics</h5>
|
||
<p>Will panic if any column of the upper 3x3 rotation matrix is not normalized when
|
||
<code>glam_assert</code> is enabled.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_rotation_x" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#421">Source</a><h4 class="code-header">pub fn <a href="#method.from_rotation_x" class="fn">from_rotation_x</a>(angle: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates an affine transformation matrix containing a 3D rotation around the x axis of
|
||
<code>angle</code> (in radians).</p>
|
||
<p>The resulting matrix can be used to transform 3D points and vectors. See
|
||
<a href="struct.Mat4.html#method.transform_point3" title="method bevy_math::Mat4::transform_point3"><code>Self::transform_point3()</code></a> and <a href="struct.Mat4.html#method.transform_vector3" title="method bevy_math::Mat4::transform_vector3"><code>Self::transform_vector3()</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_rotation_y" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#438">Source</a><h4 class="code-header">pub fn <a href="#method.from_rotation_y" class="fn">from_rotation_y</a>(angle: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates an affine transformation matrix containing a 3D rotation around the y axis of
|
||
<code>angle</code> (in radians).</p>
|
||
<p>The resulting matrix can be used to transform 3D points and vectors. See
|
||
<a href="struct.Mat4.html#method.transform_point3" title="method bevy_math::Mat4::transform_point3"><code>Self::transform_point3()</code></a> and <a href="struct.Mat4.html#method.transform_vector3" title="method bevy_math::Mat4::transform_vector3"><code>Self::transform_vector3()</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_rotation_z" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#455">Source</a><h4 class="code-header">pub fn <a href="#method.from_rotation_z" class="fn">from_rotation_z</a>(angle: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates an affine transformation matrix containing a 3D rotation around the z axis of
|
||
<code>angle</code> (in radians).</p>
|
||
<p>The resulting matrix can be used to transform 3D points and vectors. See
|
||
<a href="struct.Mat4.html#method.transform_point3" title="method bevy_math::Mat4::transform_point3"><code>Self::transform_point3()</code></a> and <a href="struct.Mat4.html#method.transform_vector3" title="method bevy_math::Mat4::transform_vector3"><code>Self::transform_vector3()</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_scale" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#475">Source</a><h4 class="code-header">pub fn <a href="#method.from_scale" class="fn">from_scale</a>(scale: <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a>) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates an affine transformation matrix containing the given 3D non-uniform <code>scale</code>.</p>
|
||
<p>The resulting matrix can be used to transform 3D points and vectors. See
|
||
<a href="struct.Mat4.html#method.transform_point3" title="method bevy_math::Mat4::transform_point3"><code>Self::transform_point3()</code></a> and <a href="struct.Mat4.html#method.transform_vector3" title="method bevy_math::Mat4::transform_vector3"><code>Self::transform_vector3()</code></a>.</p>
|
||
<h5 id="panics-6"><a class="doc-anchor" href="#panics-6">§</a>Panics</h5>
|
||
<p>Will panic if all elements of <code>scale</code> are zero when <code>glam_assert</code> is enabled.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_cols_slice" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#494">Source</a><h4 class="code-header">pub const fn <a href="#method.from_cols_slice" class="fn">from_cols_slice</a>(slice: &[<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>]) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates a 4x4 matrix from the first 16 values in <code>slice</code>.</p>
|
||
<h5 id="panics-7"><a class="doc-anchor" href="#panics-7">§</a>Panics</h5>
|
||
<p>Panics if <code>slice</code> is less than 16 elements long.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.write_cols_to_slice" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#507">Source</a><h4 class="code-header">pub fn <a href="#method.write_cols_to_slice" class="fn">write_cols_to_slice</a>(self, slice: &mut [<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>])</h4></section></summary><div class="docblock"><p>Writes the columns of <code>self</code> to the first 16 elements in <code>slice</code>.</p>
|
||
<h5 id="panics-8"><a class="doc-anchor" href="#panics-8">§</a>Panics</h5>
|
||
<p>Panics if <code>slice</code> is less than 16 elements long.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.col" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#533">Source</a><h4 class="code-header">pub fn <a href="#method.col" class="fn">col</a>(&self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -> <a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a></h4></section></summary><div class="docblock"><p>Returns the matrix column for the given <code>index</code>.</p>
|
||
<h5 id="panics-9"><a class="doc-anchor" href="#panics-9">§</a>Panics</h5>
|
||
<p>Panics if <code>index</code> is greater than 3.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.col_mut" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#549">Source</a><h4 class="code-header">pub fn <a href="#method.col_mut" class="fn">col_mut</a>(&mut self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -> &mut <a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a></h4></section></summary><div class="docblock"><p>Returns a mutable reference to the matrix column for the given <code>index</code>.</p>
|
||
<h5 id="panics-10"><a class="doc-anchor" href="#panics-10">§</a>Panics</h5>
|
||
<p>Panics if <code>index</code> is greater than 3.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.row" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#566">Source</a><h4 class="code-header">pub fn <a href="#method.row" class="fn">row</a>(&self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -> <a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a></h4></section></summary><div class="docblock"><p>Returns the matrix row for the given <code>index</code>.</p>
|
||
<h5 id="panics-11"><a class="doc-anchor" href="#panics-11">§</a>Panics</h5>
|
||
<p>Panics if <code>index</code> is greater than 3.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_finite" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#580">Source</a><h4 class="code-header">pub fn <a href="#method.is_finite" class="fn">is_finite</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns <code>true</code> if, and only if, all elements are finite.
|
||
If any element is either <code>NaN</code>, positive or negative infinity, this will return <code>false</code>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_nan" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#590">Source</a><h4 class="code-header">pub fn <a href="#method.is_nan" class="fn">is_nan</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns <code>true</code> if any elements are <code>NaN</code>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.transpose" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#597">Source</a><h4 class="code-header">pub fn <a href="#method.transpose" class="fn">transpose</a>(&self) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Returns the transpose of <code>self</code>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.determinant" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#616">Source</a><h4 class="code-header">pub fn <a href="#method.determinant" class="fn">determinant</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a></h4></section></summary><div class="docblock"><p>Returns the determinant of <code>self</code>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.inverse" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#662">Source</a><h4 class="code-header">pub fn <a href="#method.inverse" class="fn">inverse</a>(&self) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Returns the inverse of <code>self</code>.</p>
|
||
<p>If the matrix is not invertible the returned matrix will be invalid.</p>
|
||
<h5 id="panics-12"><a class="doc-anchor" href="#panics-12">§</a>Panics</h5>
|
||
<p>Will panic if the determinant of <code>self</code> is zero when <code>glam_assert</code> is enabled.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.look_to_lh" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#810">Source</a><h4 class="code-header">pub fn <a href="#method.look_to_lh" class="fn">look_to_lh</a>(eye: <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a>, dir: <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a>, up: <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a>) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates a left-handed view matrix using a camera position, an up direction, and a facing
|
||
direction.</p>
|
||
<p>For a view coordinate system with <code>+X=right</code>, <code>+Y=up</code> and <code>+Z=forward</code>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.look_to_rh" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#820">Source</a><h4 class="code-header">pub fn <a href="#method.look_to_rh" class="fn">look_to_rh</a>(eye: <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a>, dir: <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a>, up: <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a>) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates a right-handed view matrix using a camera position, an up direction, and a facing
|
||
direction.</p>
|
||
<p>For a view coordinate system with <code>+X=right</code>, <code>+Y=up</code> and <code>+Z=back</code>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.look_at_lh" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#842">Source</a><h4 class="code-header">pub fn <a href="#method.look_at_lh" class="fn">look_at_lh</a>(eye: <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a>, center: <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a>, up: <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a>) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates a left-handed view matrix using a camera position, an up direction, and a focal
|
||
point.
|
||
For a view coordinate system with <code>+X=right</code>, <code>+Y=up</code> and <code>+Z=forward</code>.</p>
|
||
<h5 id="panics-13"><a class="doc-anchor" href="#panics-13">§</a>Panics</h5>
|
||
<p>Will panic if <code>up</code> is not normalized when <code>glam_assert</code> is enabled.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.look_at_rh" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#855">Source</a><h4 class="code-header">pub fn <a href="#method.look_at_rh" class="fn">look_at_rh</a>(eye: <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a>, center: <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a>, up: <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a>) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates a right-handed view matrix using a camera position, an up direction, and a focal
|
||
point.
|
||
For a view coordinate system with <code>+X=right</code>, <code>+Y=up</code> and <code>+Z=back</code>.</p>
|
||
<h5 id="panics-14"><a class="doc-anchor" href="#panics-14">§</a>Panics</h5>
|
||
<p>Will panic if <code>up</code> is not normalized when <code>glam_assert</code> is enabled.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.perspective_rh_gl" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#868-873">Source</a><h4 class="code-header">pub fn <a href="#method.perspective_rh_gl" class="fn">perspective_rh_gl</a>(
|
||
fov_y_radians: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
aspect_ratio: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
z_near: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
z_far: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates a right-handed perspective projection matrix with <code>[-1,1]</code> depth range.</p>
|
||
<p>Useful to map the standard right-handed coordinate system into what OpenGL expects.</p>
|
||
<p>This is the same as the OpenGL <code>gluPerspective</code> function.
|
||
See <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluPerspective.xml">https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluPerspective.xml</a></p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.perspective_lh" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#897">Source</a><h4 class="code-header">pub fn <a href="#method.perspective_lh" class="fn">perspective_lh</a>(
|
||
fov_y_radians: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
aspect_ratio: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
z_near: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
z_far: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates a left-handed perspective projection matrix with <code>[0,1]</code> depth range.</p>
|
||
<p>Useful to map the standard left-handed coordinate system into what WebGPU/Metal/Direct3D expect.</p>
|
||
<h5 id="panics-15"><a class="doc-anchor" href="#panics-15">§</a>Panics</h5>
|
||
<p>Will panic if <code>z_near</code> or <code>z_far</code> are less than or equal to zero when <code>glam_assert</code> is
|
||
enabled.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.perspective_rh" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#921">Source</a><h4 class="code-header">pub fn <a href="#method.perspective_rh" class="fn">perspective_rh</a>(
|
||
fov_y_radians: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
aspect_ratio: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
z_near: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
z_far: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates a right-handed perspective projection matrix with <code>[0,1]</code> depth range.</p>
|
||
<p>Useful to map the standard right-handed coordinate system into what WebGPU/Metal/Direct3D expect.</p>
|
||
<h5 id="panics-16"><a class="doc-anchor" href="#panics-16">§</a>Panics</h5>
|
||
<p>Will panic if <code>z_near</code> or <code>z_far</code> are less than or equal to zero when <code>glam_assert</code> is
|
||
enabled.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.perspective_infinite_lh" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#946">Source</a><h4 class="code-header">pub fn <a href="#method.perspective_infinite_lh" class="fn">perspective_infinite_lh</a>(
|
||
fov_y_radians: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
aspect_ratio: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
z_near: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates an infinite left-handed perspective projection matrix with <code>[0,1]</code> depth range.</p>
|
||
<p>Like <code>perspective_lh</code>, but with an infinite value for <code>z_far</code>.
|
||
The result is that points near <code>z_near</code> are mapped to depth <code>0</code>, and as they move towards infinity the depth approaches <code>1</code>.</p>
|
||
<h5 id="panics-17"><a class="doc-anchor" href="#panics-17">§</a>Panics</h5>
|
||
<p>Will panic if <code>z_near</code> or <code>z_far</code> are less than or equal to zero when <code>glam_assert</code> is
|
||
enabled.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.perspective_infinite_reverse_lh" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#968-972">Source</a><h4 class="code-header">pub fn <a href="#method.perspective_infinite_reverse_lh" class="fn">perspective_infinite_reverse_lh</a>(
|
||
fov_y_radians: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
aspect_ratio: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
z_near: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates an infinite reverse left-handed perspective projection matrix with <code>[0,1]</code> depth range.</p>
|
||
<p>Similar to <code>perspective_infinite_lh</code>, but maps <code>Z = z_near</code> to a depth of <code>1</code> and <code>Z = infinity</code> to a depth of <code>0</code>.</p>
|
||
<h5 id="panics-18"><a class="doc-anchor" href="#panics-18">§</a>Panics</h5>
|
||
<p>Will panic if <code>z_near</code> is less than or equal to zero when <code>glam_assert</code> is enabled.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.perspective_infinite_rh" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#996">Source</a><h4 class="code-header">pub fn <a href="#method.perspective_infinite_rh" class="fn">perspective_infinite_rh</a>(
|
||
fov_y_radians: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
aspect_ratio: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
z_near: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates an infinite right-handed perspective projection matrix with <code>[0,1]</code> depth range.</p>
|
||
<p>Like <code>perspective_rh</code>, but with an infinite value for <code>z_far</code>.
|
||
The result is that points near <code>z_near</code> are mapped to depth <code>0</code>, and as they move towards infinity the depth approaches <code>1</code>.</p>
|
||
<h5 id="panics-19"><a class="doc-anchor" href="#panics-19">§</a>Panics</h5>
|
||
<p>Will panic if <code>z_near</code> or <code>z_far</code> are less than or equal to zero when <code>glam_assert</code> is
|
||
enabled.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.perspective_infinite_reverse_rh" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1016-1020">Source</a><h4 class="code-header">pub fn <a href="#method.perspective_infinite_reverse_rh" class="fn">perspective_infinite_reverse_rh</a>(
|
||
fov_y_radians: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
aspect_ratio: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
z_near: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates an infinite reverse right-handed perspective projection matrix with <code>[0,1]</code> depth range.</p>
|
||
<p>Similar to <code>perspective_infinite_rh</code>, but maps <code>Z = z_near</code> to a depth of <code>1</code> and <code>Z = infinity</code> to a depth of <code>0</code>.</p>
|
||
<h5 id="panics-20"><a class="doc-anchor" href="#panics-20">§</a>Panics</h5>
|
||
<p>Will panic if <code>z_near</code> is less than or equal to zero when <code>glam_assert</code> is enabled.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.orthographic_rh_gl" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1039-1046">Source</a><h4 class="code-header">pub fn <a href="#method.orthographic_rh_gl" class="fn">orthographic_rh_gl</a>(
|
||
left: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
right: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
bottom: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
top: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
near: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
far: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates a right-handed orthographic projection matrix with <code>[-1,1]</code> depth
|
||
range. This is the same as the OpenGL <code>glOrtho</code> function in OpenGL.
|
||
See
|
||
<a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glOrtho.xml">https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glOrtho.xml</a></p>
|
||
<p>Useful to map a right-handed coordinate system to the normalized device coordinates that OpenGL expects.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.orthographic_lh" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1067-1074">Source</a><h4 class="code-header">pub fn <a href="#method.orthographic_lh" class="fn">orthographic_lh</a>(
|
||
left: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
right: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
bottom: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
top: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
near: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
far: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates a left-handed orthographic projection matrix with <code>[0,1]</code> depth range.</p>
|
||
<p>Useful to map a left-handed coordinate system to the normalized device coordinates that WebGPU/Direct3D/Metal expect.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.orthographic_rh" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1096-1103">Source</a><h4 class="code-header">pub fn <a href="#method.orthographic_rh" class="fn">orthographic_rh</a>(
|
||
left: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
right: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
bottom: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
top: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
near: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
far: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
|
||
) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Creates a right-handed orthographic projection matrix with <code>[0,1]</code> depth range.</p>
|
||
<p>Useful to map a right-handed coordinate system to the normalized device coordinates that WebGPU/Direct3D/Metal expect.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.project_point3" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1128">Source</a><h4 class="code-header">pub fn <a href="#method.project_point3" class="fn">project_point3</a>(&self, rhs: <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a>) -> <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a></h4></section></summary><div class="docblock"><p>Transforms the given 3D vector as a point, applying perspective correction.</p>
|
||
<p>This is the equivalent of multiplying the 3D vector as a 4D vector where <code>w</code> is <code>1.0</code>.
|
||
The perspective divide is performed meaning the resulting 3D vector is divided by <code>w</code>.</p>
|
||
<p>This method assumes that <code>self</code> contains a projective transform.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.transform_point3" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1151">Source</a><h4 class="code-header">pub fn <a href="#method.transform_point3" class="fn">transform_point3</a>(&self, rhs: <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a>) -> <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a></h4></section></summary><div class="docblock"><p>Transforms the given 3D vector as a point.</p>
|
||
<p>This is the equivalent of multiplying the 3D vector as a 4D vector where <code>w</code> is
|
||
<code>1.0</code>.</p>
|
||
<p>This method assumes that <code>self</code> contains a valid affine transform. It does not perform
|
||
a perspective divide, if <code>self</code> contains a perspective transform, or if you are unsure,
|
||
the <a href="struct.Mat4.html#method.project_point3" title="method bevy_math::Mat4::project_point3"><code>Self::project_point3()</code></a> method should be used instead.</p>
|
||
<h5 id="panics-21"><a class="doc-anchor" href="#panics-21">§</a>Panics</h5>
|
||
<p>Will panic if the 3rd row of <code>self</code> is not <code>(0, 0, 0, 1)</code> when <code>glam_assert</code> is enabled.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.transform_vector3" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1172">Source</a><h4 class="code-header">pub fn <a href="#method.transform_vector3" class="fn">transform_vector3</a>(&self, rhs: <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a>) -> <a class="struct" href="struct.Vec3.html" title="struct bevy_math::Vec3">Vec3</a></h4></section></summary><div class="docblock"><p>Transforms the give 3D vector as a direction.</p>
|
||
<p>This is the equivalent of multiplying the 3D vector as a 4D vector where <code>w</code> is
|
||
<code>0.0</code>.</p>
|
||
<p>This method assumes that <code>self</code> contains a valid affine transform.</p>
|
||
<h5 id="panics-22"><a class="doc-anchor" href="#panics-22">§</a>Panics</h5>
|
||
<p>Will panic if the 3rd row of <code>self</code> is not <code>(0, 0, 0, 1)</code> when <code>glam_assert</code> is enabled.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.project_point3a" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1188">Source</a><h4 class="code-header">pub fn <a href="#method.project_point3a" class="fn">project_point3a</a>(&self, rhs: <a class="struct" href="struct.Vec3A.html" title="struct bevy_math::Vec3A">Vec3A</a>) -> <a class="struct" href="struct.Vec3A.html" title="struct bevy_math::Vec3A">Vec3A</a></h4></section></summary><div class="docblock"><p>Transforms the given <a href="struct.Vec3A.html" title="struct bevy_math::Vec3A"><code>Vec3A</code></a> as a 3D point, applying perspective correction.</p>
|
||
<p>This is the equivalent of multiplying the <a href="struct.Vec3A.html" title="struct bevy_math::Vec3A"><code>Vec3A</code></a> as a 4D vector where <code>w</code> is <code>1.0</code>.
|
||
The perspective divide is performed meaning the resulting 3D vector is divided by <code>w</code>.</p>
|
||
<p>This method assumes that <code>self</code> contains a projective transform.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.transform_point3a" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1202">Source</a><h4 class="code-header">pub fn <a href="#method.transform_point3a" class="fn">transform_point3a</a>(&self, rhs: <a class="struct" href="struct.Vec3A.html" title="struct bevy_math::Vec3A">Vec3A</a>) -> <a class="struct" href="struct.Vec3A.html" title="struct bevy_math::Vec3A">Vec3A</a></h4></section></summary><div class="docblock"><p>Transforms the given <a href="struct.Vec3A.html" title="struct bevy_math::Vec3A"><code>Vec3A</code></a> as 3D point.</p>
|
||
<p>This is the equivalent of multiplying the <a href="struct.Vec3A.html" title="struct bevy_math::Vec3A"><code>Vec3A</code></a> as a 4D vector where <code>w</code> is <code>1.0</code>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.transform_vector3a" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1216">Source</a><h4 class="code-header">pub fn <a href="#method.transform_vector3a" class="fn">transform_vector3a</a>(&self, rhs: <a class="struct" href="struct.Vec3A.html" title="struct bevy_math::Vec3A">Vec3A</a>) -> <a class="struct" href="struct.Vec3A.html" title="struct bevy_math::Vec3A">Vec3A</a></h4></section></summary><div class="docblock"><p>Transforms the give <a href="struct.Vec3A.html" title="struct bevy_math::Vec3A"><code>Vec3A</code></a> as 3D vector.</p>
|
||
<p>This is the equivalent of multiplying the <a href="struct.Vec3A.html" title="struct bevy_math::Vec3A"><code>Vec3A</code></a> as a 4D vector where <code>w</code> is <code>0.0</code>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.mul_vec4" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1227">Source</a><h4 class="code-header">pub fn <a href="#method.mul_vec4" class="fn">mul_vec4</a>(&self, rhs: <a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a>) -> <a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a></h4></section></summary><div class="docblock"><p>Transforms a 4D vector.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.mul_mat4" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1238">Source</a><h4 class="code-header">pub fn <a href="#method.mul_mat4" class="fn">mul_mat4</a>(&self, rhs: &<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Multiplies two 4x4 matrices.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.add_mat4" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1250">Source</a><h4 class="code-header">pub fn <a href="#method.add_mat4" class="fn">add_mat4</a>(&self, rhs: &<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Adds two 4x4 matrices.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.sub_mat4" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1262">Source</a><h4 class="code-header">pub fn <a href="#method.sub_mat4" class="fn">sub_mat4</a>(&self, rhs: &<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Subtracts two 4x4 matrices.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.mul_scalar" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1274">Source</a><h4 class="code-header">pub fn <a href="#method.mul_scalar" class="fn">mul_scalar</a>(&self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Multiplies a 4x4 matrix by a scalar.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.div_scalar" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1286">Source</a><h4 class="code-header">pub fn <a href="#method.div_scalar" class="fn">div_scalar</a>(&self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Divides a 4x4 matrix by a scalar.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.abs_diff_eq" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1307">Source</a><h4 class="code-header">pub fn <a href="#method.abs_diff_eq" class="fn">abs_diff_eq</a>(&self, rhs: <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>, max_abs_diff: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if the absolute difference of all elements between <code>self</code> and <code>rhs</code>
|
||
is less than or equal to <code>max_abs_diff</code>.</p>
|
||
<p>This can be used to compare if two matrices contain similar elements. It works best
|
||
when comparing with a known value. The <code>max_abs_diff</code> that should be used used
|
||
depends on the values being compared against.</p>
|
||
<p>For more see
|
||
<a href="https://randomascii.wordpress.com/2012/02/25/comparing-floating-point-numbers-2012-edition/">comparing floating point numbers</a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.abs" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1317">Source</a><h4 class="code-header">pub fn <a href="#method.abs" class="fn">abs</a>(&self) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class="docblock"><p>Takes the absolute value of each element in <code>self</code></p>
|
||
</div></details><section id="method.as_dmat4" class="method"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1327">Source</a><h4 class="code-header">pub fn <a href="#method.as_dmat4" class="fn">as_dmat4</a>(&self) -> <a class="struct" href="struct.DMat4.html" title="struct bevy_math::DMat4">DMat4</a></h4></section></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Add-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1344">Source</a><a href="#impl-Add-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-5" class="associatedtype trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1345">Source</a><a href="#associatedtype.Output-5" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.add" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1347">Source</a><a href="#method.add" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html#tymethod.add" class="fn">add</a>(self, rhs: <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>) -> <<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a> as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html#associatedtype.Output" title="type core::ops::arith::Add::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html#tymethod.add">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AddAssign-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1352">Source</a><a href="#impl-AddAssign-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add_assign" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1354">Source</a><a href="#method.add_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.AddAssign.html#tymethod.add_assign" class="fn">add_assign</a>(&mut self, rhs: <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>)</h4></section></summary><div class='docblock'>Performs the <code>+=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.AddAssign.html#tymethod.add_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsMut%3C%5Bf32;+16%5D%3E-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1511">Source</a><a href="#impl-AsMut%3C%5Bf32;+16%5D%3E-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a><[<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.array.html">16</a>]> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_mut" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1513">Source</a><a href="#method.as_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsMut.html#tymethod.as_mut" class="fn">as_mut</a>(&mut self) -> &mut [<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.array.html">16</a>]</h4></section></summary><div class='docblock'>Converts this type into a mutable reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3C%5Bf32;+16%5D%3E-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1503">Source</a><a href="#impl-AsRef%3C%5Bf32;+16%5D%3E-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><[<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.array.html">16</a>]> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1505">Source</a><a href="#method.as_ref" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&self) -> &[<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.array.html">16</a>]</h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#55">Source</a><a href="#impl-Clone-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#55">Source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/clone.rs.html#174">Source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: &Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1518">Source</a><a href="#impl-Debug-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1519">Source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, fmt: &mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Default-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1337">Source</a><a href="#impl-Default-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1339">Source</a><a href="#method.default" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/default/trait.Default.html#tymethod.default" class="fn">default</a>() -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class='docblock'>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.84.0/core/default/trait.Default.html#tymethod.default">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C'de%3E-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/features/impl_serde.rs.html#1040">Source</a><a href="#impl-Deserialize%3C'de%3E-for-Mat4" class="anchor">§</a><h3 class="code-header">impl<'de> <a class="trait" href="../serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="docblock"><p>Deserialize expects a sequence of 16 values.</p>
|
||
</div><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a class="src rightside" href="../src/glam/features/impl_serde.rs.html#1040">Source</a><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="../serde/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a><D>(
|
||
deserializer: D,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>, <D as <a class="trait" href="../serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="../serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>><div class="where">where
|
||
D: <a class="trait" href="../serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="../serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Display-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1529">Source</a><a href="#impl-Display-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-1" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1530">Source</a><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Display.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3Cf32%3E-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1441">Source</a><a href="#impl-Div%3Cf32%3E-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-8" class="associatedtype trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1442">Source</a><a href="#associatedtype.Output-8" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1444">Source</a><a href="#method.div" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -> <<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a> as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#associatedtype.Output" title="type core::ops::arith::Div::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DivAssign%3Cf32%3E-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1449">Source</a><a href="#impl-DivAssign%3Cf32%3E-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.div_assign" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1451">Source</a><a href="#method.div_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.DivAssign.html#tymethod.div_assign" class="fn">div_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>)</h4></section></summary><div class='docblock'>Performs the <code>/=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.DivAssign.html#tymethod.div_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CAffine3A%3E-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/affine3a.rs.html#553">Source</a><a href="#impl-From%3CAffine3A%3E-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.Affine3A.html" title="struct bevy_math::Affine3A">Affine3A</a>> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/affine3a.rs.html#555">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(m: <a class="struct" href="struct.Affine3A.html" title="struct bevy_math::Affine3A">Affine3A</a>) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-FromReflect-for-Mat4" class="impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#impl-FromReflect-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../bevy_reflect/from_reflect/trait.FromReflect.html" title="trait bevy_reflect::from_reflect::FromReflect">FromReflect</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a><div class="where">where
|
||
<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,
|
||
<a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a>: <a class="trait" href="../bevy_reflect/from_reflect/trait.FromReflect.html" title="trait bevy_reflect::from_reflect::FromReflect">FromReflect</a> + <a class="trait" href="../bevy_reflect/type_path/trait.TypePath.html" title="trait bevy_reflect::type_path::TypePath">TypePath</a> + MaybeTyped + RegisterForReflection,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_reflect" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.from_reflect" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/from_reflect/trait.FromReflect.html#tymethod.from_reflect" class="fn">from_reflect</a>(reflect: &(dyn <a class="trait" href="../bevy_reflect/reflect/trait.PartialReflect.html" title="trait bevy_reflect::reflect::PartialReflect">PartialReflect</a> + 'static)) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>></h4></section></summary><div class='docblock'>Constructs a concrete instance of <code>Self</code> from a reflected value.</div></details><details class="toggle method-toggle" open><summary><section id="method.take_from_reflect" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/from_reflect.rs.html#42-44">Source</a><a href="#method.take_from_reflect" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/from_reflect/trait.FromReflect.html#method.take_from_reflect" class="fn">take_from_reflect</a>(
|
||
reflect: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../bevy_reflect/reflect/trait.PartialReflect.html" title="trait bevy_reflect::reflect::PartialReflect">PartialReflect</a>>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../bevy_reflect/reflect/trait.PartialReflect.html" title="trait bevy_reflect::reflect::PartialReflect">PartialReflect</a>>></h4></section></summary><div class='docblock'>Attempts to downcast the given value to <code>Self</code> using,
|
||
constructing the value using <a href="../bevy_reflect/from_reflect/trait.FromReflect.html#tymethod.from_reflect" title="associated function bevy_reflect::from_reflect::FromReflect::from_reflect::from_reflect"><code>from_reflect</code></a> if that fails. <a href="../bevy_reflect/from_reflect/trait.FromReflect.html#method.take_from_reflect">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-GetTypeRegistration-for-Mat4" class="impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#impl-GetTypeRegistration-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../bevy_reflect/type_registry/trait.GetTypeRegistration.html" title="trait bevy_reflect::type_registry::GetTypeRegistration">GetTypeRegistration</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a><div class="where">where
|
||
<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,
|
||
<a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a>: <a class="trait" href="../bevy_reflect/from_reflect/trait.FromReflect.html" title="trait bevy_reflect::from_reflect::FromReflect">FromReflect</a> + <a class="trait" href="../bevy_reflect/type_path/trait.TypePath.html" title="trait bevy_reflect::type_path::TypePath">TypePath</a> + MaybeTyped + RegisterForReflection,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.get_type_registration" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.get_type_registration" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/type_registry/trait.GetTypeRegistration.html#tymethod.get_type_registration" class="fn">get_type_registration</a>() -> <a class="struct" href="../bevy_reflect/type_registry/struct.TypeRegistration.html" title="struct bevy_reflect::type_registry::TypeRegistration">TypeRegistration</a></h4></section></summary><div class='docblock'>Returns the default <a href="../bevy_reflect/type_registry/struct.TypeRegistration.html" title="struct bevy_reflect::type_registry::TypeRegistration"><code>TypeRegistration</code></a> for this type.</div></details><details class="toggle method-toggle" open><summary><section id="method.register_type_dependencies" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.register_type_dependencies" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/type_registry/trait.GetTypeRegistration.html#method.register_type_dependencies" class="fn">register_type_dependencies</a>(registry: &mut <a class="struct" href="../bevy_reflect/type_registry/struct.TypeRegistry.html" title="struct bevy_reflect::type_registry::TypeRegistry">TypeRegistry</a>)</h4></section></summary><div class='docblock'>Registers other types needed by this type. <a href="../bevy_reflect/type_registry/trait.GetTypeRegistration.html#method.register_type_dependencies">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3CAffine3A%3E-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/affine3a.rs.html#574">Source</a><a href="#impl-Mul%3CAffine3A%3E-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="struct" href="struct.Affine3A.html" title="struct bevy_math::Affine3A">Affine3A</a>> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-1" class="associatedtype trait-impl"><a class="src rightside" href="../src/glam/f32/affine3a.rs.html#575">Source</a><a href="#associatedtype.Output-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-1" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/affine3a.rs.html#578">Source</a><a href="#method.mul-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: <a class="struct" href="struct.Affine3A.html" title="struct bevy_math::Affine3A">Affine3A</a>) -> <<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a> as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="struct" href="struct.Affine3A.html" title="struct bevy_math::Affine3A">Affine3A</a>>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3CMat4%3E-for-Affine3A" class="impl"><a class="src rightside" href="../src/glam/f32/affine3a.rs.html#565">Source</a><a href="#impl-Mul%3CMat4%3E-for-Affine3A" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>> for <a class="struct" href="struct.Affine3A.html" title="struct bevy_math::Affine3A">Affine3A</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a class="src rightside" href="../src/glam/f32/affine3a.rs.html#566">Source</a><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/affine3a.rs.html#569">Source</a><a href="#method.mul" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>) -> <<a class="struct" href="struct.Affine3A.html" title="struct bevy_math::Affine3A">Affine3A</a> as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3CVec4%3E-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1402">Source</a><a href="#impl-Mul%3CVec4%3E-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a>> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-3" class="associatedtype trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1403">Source</a><a href="#associatedtype.Output-3" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-3" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1405">Source</a><a href="#method.mul-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: <a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a>) -> <<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a> as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a>>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3Cf32%3E-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1418">Source</a><a href="#impl-Mul%3Cf32%3E-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-4" class="associatedtype trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1419">Source</a><a href="#associatedtype.Output-4" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-4" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1421">Source</a><a href="#method.mul-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -> <<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a> as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1387">Source</a><a href="#impl-Mul-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-2" class="associatedtype trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1388">Source</a><a href="#associatedtype.Output-2" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-2" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1390">Source</a><a href="#method.mul-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>) -> <<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a> as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#associatedtype.Output" title="type core::ops::arith::Mul::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MulAssign%3Cf32%3E-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1426">Source</a><a href="#impl-MulAssign%3Cf32%3E-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mul_assign-1" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1428">Source</a><a href="#method.mul_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign" class="fn">mul_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>)</h4></section></summary><div class='docblock'>Performs the <code>*=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MulAssign-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1395">Source</a><a href="#impl-MulAssign-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mul_assign" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1397">Source</a><a href="#method.mul_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign" class="fn">mul_assign</a>(&mut self, rhs: <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>)</h4></section></summary><div class='docblock'>Performs the <code>*=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Neg-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1374">Source</a><a href="#impl-Neg-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Neg.html" title="trait core::ops::arith::Neg">Neg</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-7" class="associatedtype trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1375">Source</a><a href="#associatedtype.Output-7" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Neg.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.neg" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1377">Source</a><a href="#method.neg" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Neg.html#tymethod.neg" class="fn">neg</a>(self) -> <<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a> as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Neg.html" title="trait core::ops::arith::Neg">Neg</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Neg.html#associatedtype.Output" title="type core::ops::arith::Neg::Output">Output</a></h4></section></summary><div class='docblock'>Performs the unary <code>-</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Neg.html#tymethod.neg">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1492">Source</a><a href="#impl-PartialEq-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1494">Source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialReflect-for-Mat4" class="impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#impl-PartialReflect-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../bevy_reflect/reflect/trait.PartialReflect.html" title="trait bevy_reflect::reflect::PartialReflect">PartialReflect</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a><div class="where">where
|
||
<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,
|
||
<a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a>: <a class="trait" href="../bevy_reflect/from_reflect/trait.FromReflect.html" title="trait bevy_reflect::from_reflect::FromReflect">FromReflect</a> + <a class="trait" href="../bevy_reflect/type_path/trait.TypePath.html" title="trait bevy_reflect::type_path::TypePath">TypePath</a> + MaybeTyped + RegisterForReflection,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.get_represented_type_info" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.get_represented_type_info" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.PartialReflect.html#tymethod.get_represented_type_info" class="fn">get_represented_type_info</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'static <a class="enum" href="../bevy_reflect/type_info/enum.TypeInfo.html" title="enum bevy_reflect::type_info::TypeInfo">TypeInfo</a>></h4></section></summary><div class='docblock'>Returns the <a href="../bevy_reflect/type_info/enum.TypeInfo.html" title="enum bevy_reflect::type_info::TypeInfo"><code>TypeInfo</code></a> of the type <em>represented</em> by this value. <a href="../bevy_reflect/reflect/trait.PartialReflect.html#tymethod.get_represented_type_info">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_value" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.clone_value" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.PartialReflect.html#tymethod.clone_value" class="fn">clone_value</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../bevy_reflect/reflect/trait.PartialReflect.html" title="trait bevy_reflect::reflect::PartialReflect">PartialReflect</a>></h4></section></summary><div class='docblock'>Clones the value as a <code>Reflect</code> trait object. <a href="../bevy_reflect/reflect/trait.PartialReflect.html#tymethod.clone_value">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.try_apply" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.try_apply" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.PartialReflect.html#tymethod.try_apply" class="fn">try_apply</a>(
|
||
&mut self,
|
||
value: &(dyn <a class="trait" href="../bevy_reflect/reflect/trait.PartialReflect.html" title="trait bevy_reflect::reflect::PartialReflect">PartialReflect</a> + 'static),
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="enum" href="../bevy_reflect/reflect/enum.ApplyError.html" title="enum bevy_reflect::reflect::ApplyError">ApplyError</a>></h4></section></summary><div class='docblock'>Tries to <a href="../bevy_reflect/reflect/trait.PartialReflect.html#method.apply" title="method bevy_reflect::reflect::PartialReflect::apply"><code>apply</code></a> a reflected value to this value. <a href="../bevy_reflect/reflect/trait.PartialReflect.html#tymethod.try_apply">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.reflect_kind" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.reflect_kind" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.PartialReflect.html#method.reflect_kind" class="fn">reflect_kind</a>(&self) -> <a class="enum" href="../bevy_reflect/kind/enum.ReflectKind.html" title="enum bevy_reflect::kind::ReflectKind">ReflectKind</a></h4></section></summary><div class='docblock'>Returns a zero-sized enumeration of “kinds” of type. <a href="../bevy_reflect/reflect/trait.PartialReflect.html#method.reflect_kind">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.reflect_ref" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.reflect_ref" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.PartialReflect.html#tymethod.reflect_ref" class="fn">reflect_ref</a>(&self) -> <a class="enum" href="../bevy_reflect/kind/enum.ReflectRef.html" title="enum bevy_reflect::kind::ReflectRef">ReflectRef</a><'_></h4></section></summary><div class='docblock'>Returns an immutable enumeration of “kinds” of type. <a href="../bevy_reflect/reflect/trait.PartialReflect.html#tymethod.reflect_ref">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.reflect_mut" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.reflect_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.PartialReflect.html#tymethod.reflect_mut" class="fn">reflect_mut</a>(&mut self) -> <a class="enum" href="../bevy_reflect/kind/enum.ReflectMut.html" title="enum bevy_reflect::kind::ReflectMut">ReflectMut</a><'_></h4></section></summary><div class='docblock'>Returns a mutable enumeration of “kinds” of type. <a href="../bevy_reflect/reflect/trait.PartialReflect.html#tymethod.reflect_mut">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.reflect_owned" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.reflect_owned" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.PartialReflect.html#tymethod.reflect_owned" class="fn">reflect_owned</a>(self: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>>) -> <a class="enum" href="../bevy_reflect/kind/enum.ReflectOwned.html" title="enum bevy_reflect::kind::ReflectOwned">ReflectOwned</a></h4></section></summary><div class='docblock'>Returns an owned enumeration of “kinds” of type. <a href="../bevy_reflect/reflect/trait.PartialReflect.html#tymethod.reflect_owned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.try_into_reflect" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.try_into_reflect" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.PartialReflect.html#tymethod.try_into_reflect" class="fn">try_into_reflect</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../bevy_reflect/reflect/trait.Reflect.html" title="trait bevy_reflect::reflect::Reflect">Reflect</a>>, <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../bevy_reflect/reflect/trait.PartialReflect.html" title="trait bevy_reflect::reflect::PartialReflect">PartialReflect</a>>></h4></section></summary><div class='docblock'>Attempts to cast this type to a boxed, <a href="../bevy_reflect/reflect/trait.Reflect.html" title="trait bevy_reflect::reflect::Reflect">fully-reflected</a> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_as_reflect" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.try_as_reflect" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.PartialReflect.html#tymethod.try_as_reflect" class="fn">try_as_reflect</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&(dyn <a class="trait" href="../bevy_reflect/reflect/trait.Reflect.html" title="trait bevy_reflect::reflect::Reflect">Reflect</a> + 'static)></h4></section></summary><div class='docblock'>Attempts to cast this type to a <a href="../bevy_reflect/reflect/trait.Reflect.html" title="trait bevy_reflect::reflect::Reflect">fully-reflected</a> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_as_reflect_mut" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.try_as_reflect_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.PartialReflect.html#tymethod.try_as_reflect_mut" class="fn">try_as_reflect_mut</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&mut (dyn <a class="trait" href="../bevy_reflect/reflect/trait.Reflect.html" title="trait bevy_reflect::reflect::Reflect">Reflect</a> + 'static)></h4></section></summary><div class='docblock'>Attempts to cast this type to a mutable, <a href="../bevy_reflect/reflect/trait.Reflect.html" title="trait bevy_reflect::reflect::Reflect">fully-reflected</a> value.</div></details><details class="toggle method-toggle" open><summary><section id="method.into_partial_reflect" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.into_partial_reflect" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.PartialReflect.html#tymethod.into_partial_reflect" class="fn">into_partial_reflect</a>(self: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>>) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../bevy_reflect/reflect/trait.PartialReflect.html" title="trait bevy_reflect::reflect::PartialReflect">PartialReflect</a>></h4></section></summary><div class='docblock'>Casts this type to a boxed, reflected value. <a href="../bevy_reflect/reflect/trait.PartialReflect.html#tymethod.into_partial_reflect">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.as_partial_reflect" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.as_partial_reflect" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.PartialReflect.html#tymethod.as_partial_reflect" class="fn">as_partial_reflect</a>(&self) -> &(dyn <a class="trait" href="../bevy_reflect/reflect/trait.PartialReflect.html" title="trait bevy_reflect::reflect::PartialReflect">PartialReflect</a> + 'static)</h4></section></summary><div class='docblock'>Casts this type to a reflected value. <a href="../bevy_reflect/reflect/trait.PartialReflect.html#tymethod.as_partial_reflect">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.as_partial_reflect_mut" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.as_partial_reflect_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.PartialReflect.html#tymethod.as_partial_reflect_mut" class="fn">as_partial_reflect_mut</a>(&mut self) -> &mut (dyn <a class="trait" href="../bevy_reflect/reflect/trait.PartialReflect.html" title="trait bevy_reflect::reflect::PartialReflect">PartialReflect</a> + 'static)</h4></section></summary><div class='docblock'>Casts this type to a mutable, reflected value. <a href="../bevy_reflect/reflect/trait.PartialReflect.html#tymethod.as_partial_reflect_mut">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.reflect_partial_eq" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#252">Source</a><a href="#method.reflect_partial_eq" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.PartialReflect.html#method.reflect_partial_eq" class="fn">reflect_partial_eq</a>(
|
||
&self,
|
||
value: &(dyn <a class="trait" href="../bevy_reflect/reflect/trait.PartialReflect.html" title="trait bevy_reflect::reflect::PartialReflect">PartialReflect</a> + 'static),
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a>></h4></section></summary><div class='docblock'>Returns a “partial equality” comparison result. <a href="../bevy_reflect/reflect/trait.PartialReflect.html#method.reflect_partial_eq">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.debug" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#252">Source</a><a href="#method.debug" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.PartialReflect.html#method.debug" class="fn">debug</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'>Debug formatter for the value. <a href="../bevy_reflect/reflect/trait.PartialReflect.html#method.debug">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.apply" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/reflect.rs.html#181">Source</a><a href="#method.apply" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.PartialReflect.html#method.apply" class="fn">apply</a>(&mut self, value: &(dyn <a class="trait" href="../bevy_reflect/reflect/trait.PartialReflect.html" title="trait bevy_reflect::reflect::PartialReflect">PartialReflect</a> + 'static))</h4></section></summary><div class='docblock'>Applies a reflected value to this value. <a href="../bevy_reflect/reflect/trait.PartialReflect.html#method.apply">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.reflect_hash" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/reflect.rs.html#236">Source</a><a href="#method.reflect_hash" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.PartialReflect.html#method.reflect_hash" class="fn">reflect_hash</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u64.html">u64</a>></h4></section></summary><div class='docblock'>Returns a hash of the value (which includes the type). <a href="../bevy_reflect/reflect/trait.PartialReflect.html#method.reflect_hash">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.serializable" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/reflect.rs.html#275">Source</a><a href="#method.serializable" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.PartialReflect.html#method.serializable" class="fn">serializable</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="../bevy_reflect/serde/ser/serializable/enum.Serializable.html" title="enum bevy_reflect::serde::ser::serializable::Serializable">Serializable</a><'_>></h4></section></summary><div class='docblock'>Returns a serializable version of the value. <a href="../bevy_reflect/reflect/trait.PartialReflect.html#method.serializable">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_dynamic" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/reflect.rs.html#291">Source</a><a href="#method.is_dynamic" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.PartialReflect.html#method.is_dynamic" class="fn">is_dynamic</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Indicates whether or not this type is a <em>dynamic</em> type. <a href="../bevy_reflect/reflect/trait.PartialReflect.html#method.is_dynamic">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Product%3C%26Mat4%3E-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1483">Source</a><a href="#impl-Product%3C%26Mat4%3E-for-Mat4" class="anchor">§</a><h3 class="code-header">impl<'a> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/iter/traits/accum/trait.Product.html" title="trait core::iter::traits::accum::Product">Product</a><&'a <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.product-1" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1484-1486">Source</a><a href="#method.product-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/iter/traits/accum/trait.Product.html#tymethod.product" class="fn">product</a><I>(iter: I) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a><div class="where">where
|
||
I: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = &'a <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>>,</div></h4></section></summary><div class='docblock'>Takes an iterator and generates <code>Self</code> from the elements by multiplying
|
||
the items.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Product-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1474">Source</a><a href="#impl-Product-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/iter/traits/accum/trait.Product.html" title="trait core::iter::traits::accum::Product">Product</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.product" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1475-1477">Source</a><a href="#method.product" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/iter/traits/accum/trait.Product.html#tymethod.product" class="fn">product</a><I>(iter: I) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a><div class="where">where
|
||
I: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>>,</div></h4></section></summary><div class='docblock'>Takes an iterator and generates <code>Self</code> from the elements by multiplying
|
||
the items.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Reflect-for-Mat4" class="impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#impl-Reflect-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../bevy_reflect/reflect/trait.Reflect.html" title="trait bevy_reflect::reflect::Reflect">Reflect</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a><div class="where">where
|
||
<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,
|
||
<a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a>: <a class="trait" href="../bevy_reflect/from_reflect/trait.FromReflect.html" title="trait bevy_reflect::from_reflect::FromReflect">FromReflect</a> + <a class="trait" href="../bevy_reflect/type_path/trait.TypePath.html" title="trait bevy_reflect::type_path::TypePath">TypePath</a> + MaybeTyped + RegisterForReflection,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_any" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.into_any" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.Reflect.html#tymethod.into_any" class="fn">into_any</a>(self: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>>) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>></h4></section></summary><div class='docblock'>Returns the value as a <a href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any"><code>Box<dyn Any></code></a>. <a href="../bevy_reflect/reflect/trait.Reflect.html#tymethod.into_any">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.as_any" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.as_any" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.Reflect.html#tymethod.as_any" class="fn">as_any</a>(&self) -> &(dyn <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><div class='docblock'>Returns the value as a <a href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any"><code>&dyn Any</code></a>. <a href="../bevy_reflect/reflect/trait.Reflect.html#tymethod.as_any">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.as_any_mut" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.as_any_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.Reflect.html#tymethod.as_any_mut" class="fn">as_any_mut</a>(&mut self) -> &mut (dyn <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><div class='docblock'>Returns the value as a <a href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any"><code>&mut dyn Any</code></a>. <a href="../bevy_reflect/reflect/trait.Reflect.html#tymethod.as_any_mut">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.into_reflect" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.into_reflect" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.Reflect.html#tymethod.into_reflect" class="fn">into_reflect</a>(self: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>>) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../bevy_reflect/reflect/trait.Reflect.html" title="trait bevy_reflect::reflect::Reflect">Reflect</a>></h4></section></summary><div class='docblock'>Casts this type to a boxed, fully-reflected value.</div></details><details class="toggle method-toggle" open><summary><section id="method.as_reflect" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.as_reflect" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.Reflect.html#tymethod.as_reflect" class="fn">as_reflect</a>(&self) -> &(dyn <a class="trait" href="../bevy_reflect/reflect/trait.Reflect.html" title="trait bevy_reflect::reflect::Reflect">Reflect</a> + 'static)</h4></section></summary><div class='docblock'>Casts this type to a fully-reflected value.</div></details><details class="toggle method-toggle" open><summary><section id="method.as_reflect_mut" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.as_reflect_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.Reflect.html#tymethod.as_reflect_mut" class="fn">as_reflect_mut</a>(&mut self) -> &mut (dyn <a class="trait" href="../bevy_reflect/reflect/trait.Reflect.html" title="trait bevy_reflect::reflect::Reflect">Reflect</a> + 'static)</h4></section></summary><div class='docblock'>Casts this type to a mutable, fully-reflected value.</div></details><details class="toggle method-toggle" open><summary><section id="method.set" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.set" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/reflect/trait.Reflect.html#tymethod.set" class="fn">set</a>(&mut self, value: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../bevy_reflect/reflect/trait.Reflect.html" title="trait bevy_reflect::reflect::Reflect">Reflect</a>>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../bevy_reflect/reflect/trait.Reflect.html" title="trait bevy_reflect::reflect::Reflect">Reflect</a>>></h4></section></summary><div class='docblock'>Performs a type-checked assignment of a reflected value to this value. <a href="../bevy_reflect/reflect/trait.Reflect.html#tymethod.set">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Serialize-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/features/impl_serde.rs.html#1040">Source</a><a href="#impl-Serialize-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="docblock"><p>Serialize as a sequence of 16 values.</p>
|
||
</div><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.serialize" class="method trait-impl"><a class="src rightside" href="../src/glam/features/impl_serde.rs.html#1040">Source</a><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a href="../serde/ser/trait.Serialize.html#tymethod.serialize" class="fn">serialize</a><S>(
|
||
&self,
|
||
serializer: S,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="../serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>>::<a class="associatedtype" href="../serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, <S as <a class="trait" href="../serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>>::<a class="associatedtype" href="../serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>><div class="where">where
|
||
S: <a class="trait" href="../serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>,</div></h4></section></summary><div class='docblock'>Serialize this value into the given Serde serializer. <a href="../serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Struct-for-Mat4" class="impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#impl-Struct-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../bevy_reflect/struct_trait/trait.Struct.html" title="trait bevy_reflect::struct_trait::Struct">Struct</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a><div class="where">where
|
||
<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,
|
||
<a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a>: <a class="trait" href="../bevy_reflect/from_reflect/trait.FromReflect.html" title="trait bevy_reflect::from_reflect::FromReflect">FromReflect</a> + <a class="trait" href="../bevy_reflect/type_path/trait.TypePath.html" title="trait bevy_reflect::type_path::TypePath">TypePath</a> + MaybeTyped + RegisterForReflection,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.field" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.field" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/struct_trait/trait.Struct.html#tymethod.field" class="fn">field</a>(&self, name: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&(dyn <a class="trait" href="../bevy_reflect/reflect/trait.PartialReflect.html" title="trait bevy_reflect::reflect::PartialReflect">PartialReflect</a> + 'static)></h4></section></summary><div class='docblock'>Returns a reference to the value of the field named <code>name</code> as a <code>&dyn PartialReflect</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.field_mut" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.field_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/struct_trait/trait.Struct.html#tymethod.field_mut" class="fn">field_mut</a>(
|
||
&mut self,
|
||
name: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.str.html">str</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&mut (dyn <a class="trait" href="../bevy_reflect/reflect/trait.PartialReflect.html" title="trait bevy_reflect::reflect::PartialReflect">PartialReflect</a> + 'static)></h4></section></summary><div class='docblock'>Returns a mutable reference to the value of the field named <code>name</code> as a
|
||
<code>&mut dyn PartialReflect</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.field_at" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.field_at" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/struct_trait/trait.Struct.html#tymethod.field_at" class="fn">field_at</a>(&self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&(dyn <a class="trait" href="../bevy_reflect/reflect/trait.PartialReflect.html" title="trait bevy_reflect::reflect::PartialReflect">PartialReflect</a> + 'static)></h4></section></summary><div class='docblock'>Returns a reference to the value of the field with index <code>index</code> as a
|
||
<code>&dyn PartialReflect</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.field_at_mut" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.field_at_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/struct_trait/trait.Struct.html#tymethod.field_at_mut" class="fn">field_at_mut</a>(
|
||
&mut self,
|
||
index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&mut (dyn <a class="trait" href="../bevy_reflect/reflect/trait.PartialReflect.html" title="trait bevy_reflect::reflect::PartialReflect">PartialReflect</a> + 'static)></h4></section></summary><div class='docblock'>Returns a mutable reference to the value of the field with index <code>index</code>
|
||
as a <code>&mut dyn PartialReflect</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.name_at" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.name_at" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/struct_trait/trait.Struct.html#tymethod.name_at" class="fn">name_at</a>(&self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.str.html">str</a>></h4></section></summary><div class='docblock'>Returns the name of the field with index <code>index</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.field_len" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.field_len" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/struct_trait/trait.Struct.html#tymethod.field_len" class="fn">field_len</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a></h4></section></summary><div class='docblock'>Returns the number of fields in the struct.</div></details><details class="toggle method-toggle" open><summary><section id="method.iter_fields" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.iter_fields" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/struct_trait/trait.Struct.html#tymethod.iter_fields" class="fn">iter_fields</a>(&self) -> <a class="struct" href="../bevy_reflect/struct_trait/struct.FieldIter.html" title="struct bevy_reflect::struct_trait::FieldIter">FieldIter</a><'_></h4></section></summary><div class='docblock'>Returns an iterator over the values of the reflectable fields for this struct.</div></details><details class="toggle method-toggle" open><summary><section id="method.clone_dynamic" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.clone_dynamic" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/struct_trait/trait.Struct.html#tymethod.clone_dynamic" class="fn">clone_dynamic</a>(&self) -> <a class="struct" href="../bevy_reflect/struct_trait/struct.DynamicStruct.html" title="struct bevy_reflect::struct_trait::DynamicStruct">DynamicStruct</a></h4></section></summary><div class='docblock'>Clones the struct into a <a href="../bevy_reflect/struct_trait/struct.DynamicStruct.html" title="struct bevy_reflect::struct_trait::DynamicStruct"><code>DynamicStruct</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.get_represented_struct_info" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/struct_trait.rs.html#78">Source</a><a href="#method.get_represented_struct_info" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/struct_trait/trait.Struct.html#method.get_represented_struct_info" class="fn">get_represented_struct_info</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'static <a class="struct" href="../bevy_reflect/struct_trait/struct.StructInfo.html" title="struct bevy_reflect::struct_trait::StructInfo">StructInfo</a>></h4></section></summary><div class='docblock'>Will return <code>None</code> if <a href="../bevy_reflect/type_info/enum.TypeInfo.html" title="enum bevy_reflect::type_info::TypeInfo"><code>TypeInfo</code></a> is not available.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1359">Source</a><a href="#impl-Sub-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-6" class="associatedtype trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1360">Source</a><a href="#associatedtype.Output-6" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.sub" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1362">Source</a><a href="#method.sub" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html#tymethod.sub" class="fn">sub</a>(self, rhs: <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>) -> <<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a> as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html#associatedtype.Output" title="type core::ops::arith::Sub::Output">Output</a></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html#tymethod.sub">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SubAssign-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1367">Source</a><a href="#impl-SubAssign-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sub_assign" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1369">Source</a><a href="#method.sub_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign" class="fn">sub_assign</a>(&mut self, rhs: <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>)</h4></section></summary><div class='docblock'>Performs the <code>-=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sum%3C%26Mat4%3E-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1465">Source</a><a href="#impl-Sum%3C%26Mat4%3E-for-Mat4" class="anchor">§</a><h3 class="code-header">impl<'a> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/iter/traits/accum/trait.Sum.html" title="trait core::iter::traits::accum::Sum">Sum</a><&'a <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sum-1" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1466-1468">Source</a><a href="#method.sum-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/iter/traits/accum/trait.Sum.html#tymethod.sum" class="fn">sum</a><I>(iter: I) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a><div class="where">where
|
||
I: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = &'a <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>>,</div></h4></section></summary><div class='docblock'>Takes an iterator and generates <code>Self</code> from the elements by “summing up”
|
||
the items.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sum-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1456">Source</a><a href="#impl-Sum-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/iter/traits/accum/trait.Sum.html" title="trait core::iter::traits::accum::Sum">Sum</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sum" class="method trait-impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#1457-1459">Source</a><a href="#method.sum" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/iter/traits/accum/trait.Sum.html#tymethod.sum" class="fn">sum</a><I>(iter: I) -> <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a><div class="where">where
|
||
I: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>>,</div></h4></section></summary><div class='docblock'>Takes an iterator and generates <code>Self</code> from the elements by “summing up”
|
||
the items.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-TypePath-for-Mat4" class="impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#impl-TypePath-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../bevy_reflect/type_path/trait.TypePath.html" title="trait bevy_reflect::type_path::TypePath">TypePath</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a><div class="where">where
|
||
<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_path" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.type_path" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/type_path/trait.TypePath.html#tymethod.type_path" class="fn">type_path</a>() -> &'static <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.str.html">str</a></h4></section></summary><div class='docblock'>Returns the fully qualified path of the underlying type. <a href="../bevy_reflect/type_path/trait.TypePath.html#tymethod.type_path">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.short_type_path" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.short_type_path" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/type_path/trait.TypePath.html#tymethod.short_type_path" class="fn">short_type_path</a>() -> &'static <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.str.html">str</a></h4></section></summary><div class='docblock'>Returns a short, pretty-print enabled path to the type. <a href="../bevy_reflect/type_path/trait.TypePath.html#tymethod.short_type_path">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.type_ident" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.type_ident" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/type_path/trait.TypePath.html#method.type_ident" class="fn">type_ident</a>() -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'static <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.str.html">str</a>></h4></section></summary><div class='docblock'>Returns the name of the type, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if it is <a href="../bevy_reflect/type_path/trait.TypePath.html#anonymity" title="trait bevy_reflect::type_path::TypePath">anonymous</a>. <a href="../bevy_reflect/type_path/trait.TypePath.html#method.type_ident">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.crate_name" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.crate_name" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/type_path/trait.TypePath.html#method.crate_name" class="fn">crate_name</a>() -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'static <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.str.html">str</a>></h4></section></summary><div class='docblock'>Returns the name of the crate the type is in, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if it is <a href="../bevy_reflect/type_path/trait.TypePath.html#anonymity" title="trait bevy_reflect::type_path::TypePath">anonymous</a>. <a href="../bevy_reflect/type_path/trait.TypePath.html#method.crate_name">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.module_path" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.module_path" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/type_path/trait.TypePath.html#method.module_path" class="fn">module_path</a>() -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'static <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.str.html">str</a>></h4></section></summary><div class='docblock'>Returns the path to the module the type is in, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if it is <a href="../bevy_reflect/type_path/trait.TypePath.html#anonymity" title="trait bevy_reflect::type_path::TypePath">anonymous</a>. <a href="../bevy_reflect/type_path/trait.TypePath.html#method.module_path">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Typed-for-Mat4" class="impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#impl-Typed-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../bevy_reflect/type_info/trait.Typed.html" title="trait bevy_reflect::type_info::Typed">Typed</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a><div class="where">where
|
||
<a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,
|
||
<a class="struct" href="struct.Vec4.html" title="struct bevy_math::Vec4">Vec4</a>: <a class="trait" href="../bevy_reflect/from_reflect/trait.FromReflect.html" title="trait bevy_reflect::from_reflect::FromReflect">FromReflect</a> + <a class="trait" href="../bevy_reflect/type_path/trait.TypePath.html" title="trait bevy_reflect::type_path::TypePath">TypePath</a> + MaybeTyped + RegisterForReflection,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_info" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/impls/glam.rs.html#251-260">Source</a><a href="#method.type_info" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/type_info/trait.Typed.html#tymethod.type_info" class="fn">type_info</a>() -> &'static <a class="enum" href="../bevy_reflect/type_info/enum.TypeInfo.html" title="enum bevy_reflect::type_info::TypeInfo">TypeInfo</a></h4></section></summary><div class='docblock'>Returns the compile-time <a href="../bevy_reflect/type_info/enum.TypeInfo.html" title="enum bevy_reflect::type_info::TypeInfo">info</a> for the underlying type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Zeroable-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/features/impl_bytemuck.rs.html#22">Source</a><a href="#impl-Zeroable-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../bytemuck/zeroable/trait.Zeroable.html" title="trait bytemuck::zeroable::Zeroable">Zeroable</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.zeroed" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/zeroable.rs.html#32">Source</a><a href="#method.zeroed" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/zeroable/trait.Zeroable.html#method.zeroed" class="fn">zeroed</a>() -> Self</h4></section></summary><div class='docblock'>Calls <a href="https://doc.rust-lang.org/1.84.0/core/mem/fn.zeroed.html" title="fn core::mem::zeroed"><code>zeroed</code></a>. <a href="../bytemuck/zeroable/trait.Zeroable.html#method.zeroed">Read more</a></div></details></div></details><section id="impl-Copy-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/f32/sse2/mat4.rs.html#55">Source</a><a href="#impl-Copy-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section><section id="impl-Pod-for-Mat4" class="impl"><a class="src rightside" href="../src/glam/features/impl_bytemuck.rs.html#21">Source</a><a href="#impl-Pod-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../bytemuck/pod/trait.Pod.html" title="trait bytemuck::pod::Pod">Pod</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-Mat4" class="impl"><a href="#impl-Freeze-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section><section id="impl-RefUnwindSafe-for-Mat4" class="impl"><a href="#impl-RefUnwindSafe-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section><section id="impl-Send-for-Mat4" class="impl"><a href="#impl-Send-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section><section id="impl-Sync-for-Mat4" class="impl"><a href="#impl-Sync-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section><section id="impl-Unpin-for-Mat4" class="impl"><a href="#impl-Unpin-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section><section id="impl-UnwindSafe-for-Mat4" class="impl"><a href="#impl-UnwindSafe-for-Mat4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Mat4.html" title="struct bevy_math::Mat4">Mat4</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/any.rs.html#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
|
||
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/any.rs.html#139">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#209">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T<div class="where">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#211">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#217">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<div class="where">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#218">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CheckedBitPattern-for-T" class="impl"><a class="src rightside" href="../src/bytemuck/checked.rs.html#143">Source</a><a href="#impl-CheckedBitPattern-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../bytemuck/checked/trait.CheckedBitPattern.html" title="trait bytemuck::checked::CheckedBitPattern">CheckedBitPattern</a> for T<div class="where">where
|
||
T: <a class="trait" href="../bytemuck/anybitpattern/trait.AnyBitPattern.html" title="trait bytemuck::anybitpattern::AnyBitPattern">AnyBitPattern</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Bits" class="associatedtype trait-impl"><a class="src rightside" href="../src/bytemuck/checked.rs.html#144">Source</a><a href="#associatedtype.Bits" class="anchor">§</a><h4 class="code-header">type <a href="../bytemuck/checked/trait.CheckedBitPattern.html#associatedtype.Bits" class="associatedtype">Bits</a> = T</h4></section></summary><div class='docblock'><code>Self</code> <em>must</em> have the same layout as the specified <code>Bits</code> except for
|
||
the possible invalid bit patterns being checked during
|
||
<a href="../bytemuck/checked/trait.CheckedBitPattern.html#tymethod.is_valid_bit_pattern" title="associated function bytemuck::checked::CheckedBitPattern::is_valid_bit_pattern"><code>is_valid_bit_pattern</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.is_valid_bit_pattern" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/checked.rs.html#147">Source</a><a href="#method.is_valid_bit_pattern" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/checked/trait.CheckedBitPattern.html#tymethod.is_valid_bit_pattern" class="fn">is_valid_bit_pattern</a>(_bits: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&T</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>If this function returns true, then it must be valid to reinterpret <code>bits</code>
|
||
as <code>&Self</code>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CloneToUninit-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/clone.rs.html#273">Source</a><a href="#impl-CloneToUninit-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.CloneToUninit.html" title="trait core::clone::CloneToUninit">CloneToUninit</a> for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone_to_uninit" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/clone.rs.html#275">Source</a><a href="#method.clone_to_uninit" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit" class="fn">clone_to_uninit</a>(&self, dst: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.pointer.html">*mut </a><a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u8.html">u8</a>)</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>clone_to_uninit</code>)</span></div></span><div class='docblock'>Performs copy-assignment from <code>self</code> to <code>dst</code>. <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Downcast-for-T" class="impl"><a class="src rightside" href="../src/downcast_rs/lib.rs.html#189">Source</a><a href="#impl-Downcast-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../downcast_rs/trait.Downcast.html" title="trait downcast_rs::Downcast">Downcast</a> for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_any-1" class="method trait-impl"><a class="src rightside" href="../src/downcast_rs/lib.rs.html#190">Source</a><a href="#method.into_any-1" class="anchor">§</a><h4 class="code-header">fn <a href="../downcast_rs/trait.Downcast.html#tymethod.into_any" class="fn">into_any</a>(self: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><T>) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>></h4></section></summary><div class='docblock'>Convert <code>Box<dyn Trait></code> (where <code>Trait: Downcast</code>) to <code>Box<dyn Any></code>. <code>Box<dyn Any></code> can
|
||
then be further <code>downcast</code> into <code>Box<ConcreteType></code> where <code>ConcreteType</code> implements <code>Trait</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.into_any_rc" class="method trait-impl"><a class="src rightside" href="../src/downcast_rs/lib.rs.html#191">Source</a><a href="#method.into_any_rc" class="anchor">§</a><h4 class="code-header">fn <a href="../downcast_rs/trait.Downcast.html#tymethod.into_any_rc" class="fn">into_any_rc</a>(self: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><T>) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>></h4></section></summary><div class='docblock'>Convert <code>Rc<Trait></code> (where <code>Trait: Downcast</code>) to <code>Rc<Any></code>. <code>Rc<Any></code> can then be
|
||
further <code>downcast</code> into <code>Rc<ConcreteType></code> where <code>ConcreteType</code> implements <code>Trait</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.as_any-1" class="method trait-impl"><a class="src rightside" href="../src/downcast_rs/lib.rs.html#192">Source</a><a href="#method.as_any-1" class="anchor">§</a><h4 class="code-header">fn <a href="../downcast_rs/trait.Downcast.html#tymethod.as_any" class="fn">as_any</a>(&self) -> &(dyn <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><div class='docblock'>Convert <code>&Trait</code> (where <code>Trait: Downcast</code>) to <code>&Any</code>. This is needed since Rust cannot
|
||
generate <code>&Any</code>’s vtable from <code>&Trait</code>’s.</div></details><details class="toggle method-toggle" open><summary><section id="method.as_any_mut-1" class="method trait-impl"><a class="src rightside" href="../src/downcast_rs/lib.rs.html#193">Source</a><a href="#method.as_any_mut-1" class="anchor">§</a><h4 class="code-header">fn <a href="../downcast_rs/trait.Downcast.html#tymethod.as_any_mut" class="fn">as_any_mut</a>(&mut self) -> &mut (dyn <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><div class='docblock'>Convert <code>&mut Trait</code> (where <code>Trait: Downcast</code>) to <code>&Any</code>. This is needed since Rust cannot
|
||
generate <code>&mut Any</code>’s vtable from <code>&mut Trait</code>’s.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-DowncastSync-for-T" class="impl"><a class="src rightside" href="../src/downcast_rs/lib.rs.html#203">Source</a><a href="#impl-DowncastSync-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../downcast_rs/trait.DowncastSync.html" title="trait downcast_rs::DowncastSync">DowncastSync</a> for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_any_arc" class="method trait-impl"><a class="src rightside" href="../src/downcast_rs/lib.rs.html#204">Source</a><a href="#method.into_any_arc" class="anchor">§</a><h4 class="code-header">fn <a href="../downcast_rs/trait.DowncastSync.html#tymethod.into_any_arc" class="fn">into_any_arc</a>(self: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><T>) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>></h4></section></summary><div class='docblock'>Convert <code>Arc<Trait></code> (where <code>Trait: Downcast</code>) to <code>Arc<Any></code>. <code>Arc<Any></code> can then be
|
||
further <code>downcast</code> into <code>Arc<ConcreteType></code> where <code>ConcreteType</code> implements <code>Trait</code>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-DynamicTypePath-for-T" class="impl"><a class="src rightside" href="../src/bevy_reflect/type_path.rs.html#157">Source</a><a href="#impl-DynamicTypePath-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../bevy_reflect/type_path/trait.DynamicTypePath.html" title="trait bevy_reflect::type_path::DynamicTypePath">DynamicTypePath</a> for T<div class="where">where
|
||
T: <a class="trait" href="../bevy_reflect/type_path/trait.TypePath.html" title="trait bevy_reflect::type_path::TypePath">TypePath</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.reflect_type_path" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/type_path.rs.html#159">Source</a><a href="#method.reflect_type_path" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/type_path/trait.DynamicTypePath.html#tymethod.reflect_type_path" class="fn">reflect_type_path</a>(&self) -> &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.str.html">str</a></h4></section></summary><div class='docblock'>See <a href="../bevy_reflect/type_path/trait.TypePath.html#tymethod.type_path" title="associated function bevy_reflect::type_path::TypePath::type_path"><code>TypePath::type_path</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.reflect_short_type_path" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/type_path.rs.html#164">Source</a><a href="#method.reflect_short_type_path" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/type_path/trait.DynamicTypePath.html#tymethod.reflect_short_type_path" class="fn">reflect_short_type_path</a>(&self) -> &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.str.html">str</a></h4></section></summary><div class='docblock'>See <a href="../bevy_reflect/type_path/trait.TypePath.html#tymethod.short_type_path" title="associated function bevy_reflect::type_path::TypePath::short_type_path"><code>TypePath::short_type_path</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.reflect_type_ident" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/type_path.rs.html#169">Source</a><a href="#method.reflect_type_ident" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/type_path/trait.DynamicTypePath.html#tymethod.reflect_type_ident" class="fn">reflect_type_ident</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.str.html">str</a>></h4></section></summary><div class='docblock'>See <a href="../bevy_reflect/type_path/trait.TypePath.html#method.type_ident" title="associated function bevy_reflect::type_path::TypePath::type_ident"><code>TypePath::type_ident</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.reflect_crate_name" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/type_path.rs.html#174">Source</a><a href="#method.reflect_crate_name" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/type_path/trait.DynamicTypePath.html#tymethod.reflect_crate_name" class="fn">reflect_crate_name</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.str.html">str</a>></h4></section></summary><div class='docblock'>See <a href="../bevy_reflect/type_path/trait.TypePath.html#method.crate_name" title="associated function bevy_reflect::type_path::TypePath::crate_name"><code>TypePath::crate_name</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.reflect_module_path" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/type_path.rs.html#179">Source</a><a href="#method.reflect_module_path" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/type_path/trait.DynamicTypePath.html#tymethod.reflect_module_path" class="fn">reflect_module_path</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.str.html">str</a>></h4></section></summary><div class='docblock'>See <a href="../bevy_reflect/type_path/trait.TypePath.html#method.module_path" title="associated function bevy_reflect::type_path::TypePath::module_path"><code>TypePath::module_path</code></a>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-DynamicTyped-for-T" class="impl"><a class="src rightside" href="../src/bevy_reflect/type_info.rs.html#158">Source</a><a href="#impl-DynamicTyped-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../bevy_reflect/type_info/trait.DynamicTyped.html" title="trait bevy_reflect::type_info::DynamicTyped">DynamicTyped</a> for T<div class="where">where
|
||
T: <a class="trait" href="../bevy_reflect/type_info/trait.Typed.html" title="trait bevy_reflect::type_info::Typed">Typed</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.reflect_type_info" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/type_info.rs.html#160">Source</a><a href="#method.reflect_type_info" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/type_info/trait.DynamicTyped.html#tymethod.reflect_type_info" class="fn">reflect_type_info</a>(&self) -> &'static <a class="enum" href="../bevy_reflect/type_info/enum.TypeInfo.html" title="enum bevy_reflect::type_info::TypeInfo">TypeInfo</a></h4></section></summary><div class='docblock'>See <a href="../bevy_reflect/type_info/trait.Typed.html#tymethod.type_info" title="associated function bevy_reflect::type_info::Typed::type_info"><code>Typed::type_info</code></a>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#765">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#768">Source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-GetField-for-S" class="impl"><a class="src rightside" href="../src/bevy_reflect/struct_trait.rs.html#244">Source</a><a href="#impl-GetField-for-S" class="anchor">§</a><h3 class="code-header">impl<S> <a class="trait" href="../bevy_reflect/struct_trait/trait.GetField.html" title="trait bevy_reflect::struct_trait::GetField">GetField</a> for S<div class="where">where
|
||
S: <a class="trait" href="../bevy_reflect/struct_trait/trait.Struct.html" title="trait bevy_reflect::struct_trait::Struct">Struct</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.get_field" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/struct_trait.rs.html#245">Source</a><a href="#method.get_field" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/struct_trait/trait.GetField.html#tymethod.get_field" class="fn">get_field</a><T>(&self, name: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&T</a>><div class="where">where
|
||
T: <a class="trait" href="../bevy_reflect/reflect/trait.Reflect.html" title="trait bevy_reflect::reflect::Reflect">Reflect</a>,</div></h4></section></summary><div class='docblock'>Returns a reference to the value of the field named <code>name</code>, downcast to
|
||
<code>T</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.get_field_mut" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/struct_trait.rs.html#250">Source</a><a href="#method.get_field_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/struct_trait/trait.GetField.html#tymethod.get_field_mut" class="fn">get_field_mut</a><T>(&mut self, name: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&mut T</a>><div class="where">where
|
||
T: <a class="trait" href="../bevy_reflect/reflect/trait.Reflect.html" title="trait bevy_reflect::reflect::Reflect">Reflect</a>,</div></h4></section></summary><div class='docblock'>Returns a mutable reference to the value of the field named <code>name</code>,
|
||
downcast to <code>T</code>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-GetPath-for-T" class="impl"><a class="src rightside" href="../src/bevy_reflect/path/mod.rs.html#283">Source</a><a href="#impl-GetPath-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../bevy_reflect/path/trait.GetPath.html" title="trait bevy_reflect::path::GetPath">GetPath</a> for T<div class="where">where
|
||
T: <a class="trait" href="../bevy_reflect/reflect/trait.Reflect.html" title="trait bevy_reflect::reflect::Reflect">Reflect</a> + ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.reflect_path" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/path/mod.rs.html#244">Source</a><a href="#method.reflect_path" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/path/trait.GetPath.html#method.reflect_path" class="fn">reflect_path</a><'p>(
|
||
&self,
|
||
path: impl <a class="trait" href="../bevy_reflect/path/trait.ReflectPath.html" title="trait bevy_reflect::path::ReflectPath">ReflectPath</a><'p>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><&(dyn <a class="trait" href="../bevy_reflect/reflect/trait.PartialReflect.html" title="trait bevy_reflect::reflect::PartialReflect">PartialReflect</a> + 'static), <a class="enum" href="../bevy_reflect/path/enum.ReflectPathError.html" title="enum bevy_reflect::path::ReflectPathError">ReflectPathError</a><'p>></h4></section></summary><div class='docblock'>Returns a reference to the value specified by <code>path</code>. <a href="../bevy_reflect/path/trait.GetPath.html#method.reflect_path">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.reflect_path_mut" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/path/mod.rs.html#252-255">Source</a><a href="#method.reflect_path_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/path/trait.GetPath.html#method.reflect_path_mut" class="fn">reflect_path_mut</a><'p>(
|
||
&mut self,
|
||
path: impl <a class="trait" href="../bevy_reflect/path/trait.ReflectPath.html" title="trait bevy_reflect::path::ReflectPath">ReflectPath</a><'p>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><&mut (dyn <a class="trait" href="../bevy_reflect/reflect/trait.PartialReflect.html" title="trait bevy_reflect::reflect::PartialReflect">PartialReflect</a> + 'static), <a class="enum" href="../bevy_reflect/path/enum.ReflectPathError.html" title="enum bevy_reflect::path::ReflectPathError">ReflectPathError</a><'p>></h4></section></summary><div class='docblock'>Returns a mutable reference to the value specified by <code>path</code>. <a href="../bevy_reflect/path/trait.GetPath.html#method.reflect_path_mut">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.path" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/path/mod.rs.html#266">Source</a><a href="#method.path" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/path/trait.GetPath.html#method.path" class="fn">path</a><'p, T>(
|
||
&self,
|
||
path: impl <a class="trait" href="../bevy_reflect/path/trait.ReflectPath.html" title="trait bevy_reflect::path::ReflectPath">ReflectPath</a><'p>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&T</a>, <a class="enum" href="../bevy_reflect/path/enum.ReflectPathError.html" title="enum bevy_reflect::path::ReflectPathError">ReflectPathError</a><'p>><div class="where">where
|
||
T: <a class="trait" href="../bevy_reflect/reflect/trait.Reflect.html" title="trait bevy_reflect::reflect::Reflect">Reflect</a>,</div></h4></section></summary><div class='docblock'>Returns a statically typed reference to the value specified by <code>path</code>. <a href="../bevy_reflect/path/trait.GetPath.html#method.path">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.path_mut" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/path/mod.rs.html#277">Source</a><a href="#method.path_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/path/trait.GetPath.html#method.path_mut" class="fn">path_mut</a><'p, T>(
|
||
&mut self,
|
||
path: impl <a class="trait" href="../bevy_reflect/path/trait.ReflectPath.html" title="trait bevy_reflect::path::ReflectPath">ReflectPath</a><'p>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&mut T</a>, <a class="enum" href="../bevy_reflect/path/enum.ReflectPathError.html" title="enum bevy_reflect::path::ReflectPathError">ReflectPathError</a><'p>><div class="where">where
|
||
T: <a class="trait" href="../bevy_reflect/reflect/trait.Reflect.html" title="trait bevy_reflect::reflect::Reflect">Reflect</a>,</div></h4></section></summary><div class='docblock'>Returns a statically typed mutable reference to the value specified by <code>path</code>. <a href="../bevy_reflect/path/trait.GetPath.html#method.path_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Instrument-for-T" class="impl"><a class="src rightside" href="../src/tracing/instrument.rs.html#325">Source</a><a href="#impl-Instrument-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../tracing/instrument/trait.Instrument.html" title="trait tracing::instrument::Instrument">Instrument</a> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.instrument" class="method trait-impl"><a class="src rightside" href="../src/tracing/instrument.rs.html#86">Source</a><a href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a href="../tracing/instrument/trait.Instrument.html#method.instrument" class="fn">instrument</a>(self, span: <a class="struct" href="../tracing/span/struct.Span.html" title="struct tracing::span::Span">Span</a>) -> <a class="struct" href="../tracing/instrument/struct.Instrumented.html" title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></section></summary><div class='docblock'>Instruments this type with the provided <a href="../tracing/span/struct.Span.html" title="struct tracing::span::Span"><code>Span</code></a>, returning an
|
||
<code>Instrumented</code> wrapper. <a href="../tracing/instrument/trait.Instrument.html#method.instrument">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.in_current_span" class="method trait-impl"><a class="src rightside" href="../src/tracing/instrument.rs.html#128">Source</a><a href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a href="../tracing/instrument/trait.Instrument.html#method.in_current_span" class="fn">in_current_span</a>(self) -> <a class="struct" href="../tracing/instrument/struct.Instrumented.html" title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></section></summary><div class='docblock'>Instruments this type with the <a href="../tracing/span/struct.Span.html#method.current" title="associated function tracing::span::Span::current">current</a> <a href="../tracing/span/struct.Span.html" title="struct tracing::span::Span"><code>Span</code></a>, returning an
|
||
<code>Instrumented</code> wrapper. <a href="../tracing/instrument/trait.Instrument.html#method.in_current_span">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#748-750">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#758">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
||
<p>That is, this conversion is whatever the implementation of
|
||
<code><a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoEither-for-T" class="impl"><a class="src rightside" href="../src/either/into_either.rs.html#64">Source</a><a href="#impl-IntoEither-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../either/into_either/trait.IntoEither.html" title="trait either::into_either::IntoEither">IntoEither</a> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_either" class="method trait-impl"><a class="src rightside" href="../src/either/into_either.rs.html#29">Source</a><a href="#method.into_either" class="anchor">§</a><h4 class="code-header">fn <a href="../either/into_either/trait.IntoEither.html#method.into_either" class="fn">into_either</a>(self, into_left: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a>) -> <a class="enum" href="../either/enum.Either.html" title="enum either::Either">Either</a><Self, Self></h4></section></summary><div class='docblock'>Converts <code>self</code> into a <a href="../either/enum.Either.html#variant.Left" title="variant either::Either::Left"><code>Left</code></a> variant of <a href="../either/enum.Either.html" title="enum either::Either"><code>Either<Self, Self></code></a>
|
||
if <code>into_left</code> is <code>true</code>.
|
||
Converts <code>self</code> into a <a href="../either/enum.Either.html#variant.Right" title="variant either::Either::Right"><code>Right</code></a> variant of <a href="../either/enum.Either.html" title="enum either::Either"><code>Either<Self, Self></code></a>
|
||
otherwise. <a href="../either/into_either/trait.IntoEither.html#method.into_either">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.into_either_with" class="method trait-impl"><a class="src rightside" href="../src/either/into_either.rs.html#55-57">Source</a><a href="#method.into_either_with" class="anchor">§</a><h4 class="code-header">fn <a href="../either/into_either/trait.IntoEither.html#method.into_either_with" class="fn">into_either_with</a><F>(self, into_left: F) -> <a class="enum" href="../either/enum.Either.html" title="enum either::Either">Either</a><Self, Self><div class="where">where
|
||
F: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&Self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div class='docblock'>Converts <code>self</code> into a <a href="../either/enum.Either.html#variant.Left" title="variant either::Either::Left"><code>Left</code></a> variant of <a href="../either/enum.Either.html" title="enum either::Either"><code>Either<Self, Self></code></a>
|
||
if <code>into_left(&self)</code> returns <code>true</code>.
|
||
Converts <code>self</code> into a <a href="../either/enum.Either.html#variant.Right" title="variant either::Either::Right"><code>Right</code></a> variant of <a href="../either/enum.Either.html" title="enum either::Either"><code>Either<Self, Self></code></a>
|
||
otherwise. <a href="../either/into_either/trait.IntoEither.html#method.into_either_with">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Serialize-for-T" class="impl"><a class="src rightside" href="../src/erased_serde/ser.rs.html#224-226">Source</a><a href="#impl-Serialize-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../erased_serde/ser/trait.Serialize.html" title="trait erased_serde::ser::Serialize">Serialize</a> for T<div class="where">where
|
||
T: <a class="trait" href="../serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> + ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><section id="method.erased_serialize" class="method trait-impl"><a class="src rightside" href="../src/erased_serde/ser.rs.html#228">Source</a><a href="#method.erased_serialize" class="anchor">§</a><h4 class="code-header">fn <a href="../erased_serde/ser/trait.Serialize.html#tymethod.erased_serialize" class="fn">erased_serialize</a>(&self, serializer: &mut dyn <a class="trait" href="../erased_serde/ser/trait.Serializer.html" title="trait erased_serde::ser::Serializer">Serializer</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="struct" href="../erased_serde/error/struct.Error.html" title="struct erased_serde::error::Error">Error</a>></h4></section><section id="method.do_erased_serialize" class="method trait-impl"><a class="src rightside" href="../src/erased_serde/ser.rs.html#236">Source</a><a href="#method.do_erased_serialize" class="anchor">§</a><h4 class="code-header">fn <a href="../erased_serde/ser/trait.Serialize.html#tymethod.do_erased_serialize" class="fn">do_erased_serialize</a>(
|
||
&self,
|
||
serializer: &mut dyn <a class="trait" href="../erased_serde/ser/trait.Serializer.html" title="trait erased_serde::ser::Serializer">Serializer</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, ErrorImpl></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToOwned-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#82-84">Source</a><a href="#impl-ToOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#86">Source</a><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#87">Source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&self) -> T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#91">Source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&self, target: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&mut T</a>)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToSmolStr-for-T" class="impl"><a class="src rightside" href="../src/smol_str/lib.rs.html#760-762">Source</a><a href="#impl-ToSmolStr-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../smol_str/trait.ToSmolStr.html" title="trait smol_str::ToSmolStr">ToSmolStr</a> for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> + ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><section id="method.to_smolstr" class="method trait-impl"><a class="src rightside" href="../src/smol_str/lib.rs.html#764">Source</a><a href="#method.to_smolstr" class="anchor">§</a><h4 class="code-header">fn <a href="../smol_str/trait.ToSmolStr.html#tymethod.to_smolstr" class="fn">to_smolstr</a>(&self) -> <a class="struct" href="../smol_str/struct.SmolStr.html" title="struct smol_str::SmolStr">SmolStr</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToString-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/string.rs.html#2677">Source</a><a href="#impl-ToString-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/alloc/string/trait.ToString.html" title="trait alloc::string::ToString">ToString</a> for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> + ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.to_string" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/string.rs.html#2683">Source</a><a href="#method.to_string" class="anchor">§</a><h4 class="code-header">default fn <a href="https://doc.rust-lang.org/1.84.0/alloc/string/trait.ToString.html#tymethod.to_string" class="fn">to_string</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section></summary><div class='docblock'>Converts the given value to a <code>String</code>. <a href="https://doc.rust-lang.org/1.84.0/alloc/string/trait.ToString.html#tymethod.to_string">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#805-807">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#809">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#812">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#790-792">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#794">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#797">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TypeData-for-T" class="impl"><a class="src rightside" href="../src/bevy_reflect/type_registry.rs.html#650-652">Source</a><a href="#impl-TypeData-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../bevy_reflect/type_registry/trait.TypeData.html" title="trait bevy_reflect::type_registry::TypeData">TypeData</a> for T<div class="where">where
|
||
T: 'static + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><section id="method.clone_type_data" class="method trait-impl"><a class="src rightside" href="../src/bevy_reflect/type_registry.rs.html#654">Source</a><a href="#method.clone_type_data" class="anchor">§</a><h4 class="code-header">fn <a href="../bevy_reflect/type_registry/trait.TypeData.html#tymethod.clone_type_data" class="fn">clone_type_data</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../bevy_reflect/type_registry/trait.TypeData.html" title="trait bevy_reflect::type_registry::TypeData">TypeData</a>></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-VZip%3CV%3E-for-T" class="impl"><a class="src rightside" href="../src/ppv_lite86/types.rs.html#221-223">Source</a><a href="#impl-VZip%3CV%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<V, T> <a class="trait" href="../ppv_lite86/types/trait.VZip.html" title="trait ppv_lite86::types::VZip">VZip</a><V> for T<div class="where">where
|
||
V: <a class="trait" href="../ppv_lite86/types/trait.MultiLane.html" title="trait ppv_lite86::types::MultiLane">MultiLane</a><T>,</div></h3></section></summary><div class="impl-items"><section id="method.vzip" class="method trait-impl"><a class="src rightside" href="../src/ppv_lite86/types.rs.html#226">Source</a><a href="#method.vzip" class="anchor">§</a><h4 class="code-header">fn <a href="../ppv_lite86/types/trait.VZip.html#tymethod.vzip" class="fn">vzip</a>(self) -> V</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithSubscriber-for-T" class="impl"><a class="src rightside" href="../src/tracing/instrument.rs.html#393">Source</a><a href="#impl-WithSubscriber-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../tracing/instrument/trait.WithSubscriber.html" title="trait tracing::instrument::WithSubscriber">WithSubscriber</a> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.with_subscriber" class="method trait-impl"><a class="src rightside" href="../src/tracing/instrument.rs.html#176-178">Source</a><a href="#method.with_subscriber" class="anchor">§</a><h4 class="code-header">fn <a href="../tracing/instrument/trait.WithSubscriber.html#method.with_subscriber" class="fn">with_subscriber</a><S>(self, subscriber: S) -> <a class="struct" href="../tracing/instrument/struct.WithDispatch.html" title="struct tracing::instrument::WithDispatch">WithDispatch</a><Self><div class="where">where
|
||
S: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="struct" href="../tracing_core/dispatcher/struct.Dispatch.html" title="struct tracing_core::dispatcher::Dispatch">Dispatch</a>>,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="../tracing_core/subscriber/trait.Subscriber.html" title="trait tracing_core::subscriber::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||
<a href="../tracing/instrument/struct.WithDispatch.html" title="struct tracing::instrument::WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="../tracing/instrument/trait.WithSubscriber.html#method.with_subscriber">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber" class="method trait-impl"><a class="src rightside" href="../src/tracing/instrument.rs.html#228">Source</a><a href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a href="../tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber" class="fn">with_current_subscriber</a>(self) -> <a class="struct" href="../tracing/instrument/struct.WithDispatch.html" title="struct tracing::instrument::WithDispatch">WithDispatch</a><Self></h4></section></summary><div class='docblock'>Attaches the current <a href="../tracing/dispatcher/index.html#setting-the-default-subscriber" title="mod tracing::dispatcher">default</a> <a href="../tracing_core/subscriber/trait.Subscriber.html" title="trait tracing_core::subscriber::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||
<a href="../tracing/instrument/struct.WithDispatch.html" title="struct tracing::instrument::WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="../tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></div></details></div></details><section id="impl-AnyBitPattern-for-T" class="impl"><a class="src rightside" href="../src/bytemuck/anybitpattern.rs.html#56">Source</a><a href="#impl-AnyBitPattern-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../bytemuck/anybitpattern/trait.AnyBitPattern.html" title="trait bytemuck::anybitpattern::AnyBitPattern">AnyBitPattern</a> for T<div class="where">where
|
||
T: <a class="trait" href="../bytemuck/pod/trait.Pod.html" title="trait bytemuck::pod::Pod">Pod</a>,</div></h3></section><section id="impl-ConditionalSend-for-T" class="impl"><a class="src rightside" href="../src/bevy_utils/lib.rs.html#65">Source</a><a href="#impl-ConditionalSend-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../bevy_utils/conditional_send/trait.ConditionalSend.html" title="trait bevy_utils::conditional_send::ConditionalSend">ConditionalSend</a> for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-DeserializeOwned-for-T" class="impl"><a class="src rightside" href="../src/serde/de/mod.rs.html#614">Source</a><a href="#impl-DeserializeOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a> for T<div class="where">where
|
||
T: for<'de> <a class="trait" href="../serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de>,</div></h3></section><section id="impl-NoUninit-for-T" class="impl"><a class="src rightside" href="../src/bytemuck/no_uninit.rs.html#63">Source</a><a href="#impl-NoUninit-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../bytemuck/no_uninit/trait.NoUninit.html" title="trait bytemuck::no_uninit::NoUninit">NoUninit</a> for T<div class="where">where
|
||
T: <a class="trait" href="../bytemuck/pod/trait.Pod.html" title="trait bytemuck::pod::Pod">Pod</a>,</div></h3></section><section id="impl-Reflectable-for-T" class="impl"><a class="src rightside" href="../src/bevy_reflect/reflectable.rs.html#33">Source</a><a href="#impl-Reflectable-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../bevy_reflect/reflectable/trait.Reflectable.html" title="trait bevy_reflect::reflectable::Reflectable">Reflectable</a> for T<div class="where">where
|
||
T: <a class="trait" href="../bevy_reflect/reflect/trait.Reflect.html" title="trait bevy_reflect::reflect::Reflect">Reflect</a> + <a class="trait" href="../bevy_reflect/type_registry/trait.GetTypeRegistration.html" title="trait bevy_reflect::type_registry::GetTypeRegistration">GetTypeRegistration</a> + <a class="trait" href="../bevy_reflect/type_info/trait.Typed.html" title="trait bevy_reflect::type_info::Typed">Typed</a> + <a class="trait" href="../bevy_reflect/type_path/trait.TypePath.html" title="trait bevy_reflect::type_path::TypePath">TypePath</a>,</div></h3></section></div></section></div></main></body></html> |