Files
phy/rapier3d/dynamics/struct.MassProperties.html
Orion Kindel 0ce894e6b0 doc
2025-03-18 10:30:23 -05:00

157 lines
121 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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="The local mass properties of a rigid-body."><title>MassProperties in rapier3d::dynamics - 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="rapier3d" 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="alternate icon" type="image/png" href="../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../rapier3d/index.html">rapier3d</a><span class="version">0.23.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Mass<wbr>Properties</a></h2><h3><a href="#fields">Fields</a></h3><ul class="block structfield"><li><a href="#structfield.inv_mass" title="inv_mass">inv_mass</a></li><li><a href="#structfield.inv_principal_inertia_sqrt" title="inv_principal_inertia_sqrt">inv_principal_inertia_sqrt</a></li><li><a href="#structfield.local_com" title="local_com">local_com</a></li><li><a href="#structfield.principal_inertia_local_frame" title="principal_inertia_local_frame">principal_inertia_local_frame</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.from_ball" title="from_ball">from_ball</a></li><li><a href="#method.from_capsule" title="from_capsule">from_capsule</a></li><li><a href="#method.from_compound" title="from_compound">from_compound</a></li><li><a href="#method.from_cone" title="from_cone">from_cone</a></li><li><a href="#method.from_convex_polyhedron" title="from_convex_polyhedron">from_convex_polyhedron</a></li><li><a href="#method.from_cuboid" title="from_cuboid">from_cuboid</a></li><li><a href="#method.from_cylinder" title="from_cylinder">from_cylinder</a></li><li><a href="#method.from_trimesh" title="from_trimesh">from_trimesh</a></li><li><a href="#method.mass" title="mass">mass</a></li><li><a href="#method.new" title="new">new</a></li><li><a href="#method.principal_inertia" title="principal_inertia">principal_inertia</a></li><li><a href="#method.reconstruct_inertia_matrix" title="reconstruct_inertia_matrix">reconstruct_inertia_matrix</a></li><li><a href="#method.reconstruct_inverse_inertia_matrix" title="reconstruct_inverse_inertia_matrix">reconstruct_inverse_inertia_matrix</a></li><li><a href="#method.set_mass" title="set_mass">set_mass</a></li><li><a href="#method.transform_by" title="transform_by">transform_by</a></li><li><a href="#method.with_inertia_matrix" title="with_inertia_matrix">with_inertia_matrix</a></li><li><a href="#method.with_principal_inertia_frame" title="with_principal_inertia_frame">with_principal_inertia_frame</a></li><li><a href="#method.world_com" title="world_com">world_com</a></li><li><a href="#method.world_inv_inertia_sqrt" title="world_inv_inertia_sqrt">world_inv_inertia_sqrt</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-AbsDiffEq-for-MassProperties" title="AbsDiffEq">AbsDiffEq</a></li><li><a href="#impl-Add-for-MassProperties" title="Add">Add</a></li><li><a href="#impl-AddAssign-for-MassProperties" title="AddAssign">AddAssign</a></li><li><a href="#impl-Clone-for-MassProperties" title="Clone">Clone</a></li><li><a href="#impl-Copy-for-MassProperties" title="Copy">Copy</a></li><li><a href="#impl-Debug-for-MassProperties" title="Debug">Debug</a></li><li><a href="#impl-Default-for-MassProperties" title="Default">Default</a></li><li><a href="#impl-Deserialize%3C'de%3E-for-MassProperties" title="Deserialize&#60;&#39;de&#62;">Deserialize&#60;&#39;de&#62;</a></li><li><a href="#impl-From%3CMassProperties%3E-for-ColliderMassProps" title="From&#60;MassProperties&#62;">From&#60;MassProperties&#62;</a></li><li><a href="#impl-From%3CMassProperties%3E-for-RigidBodyMassProps" title="From&#60;MassProperties&#62;">From&#60;MassProperties&#62;</a></li><li><a href="#impl-PartialEq-for-MassProperties" title="PartialEq">PartialEq</a></li><li><a href="#impl-RelativeEq-for-MassProperties" title="RelativeEq">RelativeEq</a></li><li><a href="#impl-Serialize-for-MassProperties" title="Serialize">Serialize</a></li><li><a href="#impl-StructuralPartialEq-for-MassProperties" title="StructuralPartialEq">StructuralPartialEq</a></li><li><a href="#impl-Sub-for-MassProperties" title="Sub">Sub</a></li><li><a href="#impl-SubAssign-for-MassProperties" title="SubAssign">SubAssign</a></li><li><a href="#impl-Sum-for-MassProperties" title="Sum">Sum</a></li><li><a href="#impl-Zero-for-MassProperties" title="Zero">Zero</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-MassProperties" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-MassProperties" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-MassProperties" title="Send">Send</a></li><li><a href="#impl-Sync-for-MassProperties" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-MassProperties" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-MassProperties" 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-Borrow%3CT%3E-for-T" title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a href="#impl-CloneToUninit-for-T" title="CloneToUninit">CloneToUninit</a></li><li><a href="#impl-ClosedAdd%3CRight%3E-for-T" title="ClosedAdd&#60;Right&#62;">ClosedAdd&#60;Right&#62;</a></li><li><a href="#impl-ClosedAddAssign%3CRight%3E-for-T" title="ClosedAddAssign&#60;Right&#62;">ClosedAddAssign&#60;Right&#62;</a></li><li><a href="#impl-ClosedSub%3CRight%3E-for-T" title="ClosedSub&#60;Right&#62;">ClosedSub&#60;Right&#62;</a></li><li><a href="#impl-ClosedSubAssign%3CRight%3E-for-T" title="ClosedSubAssign&#60;Right&#62;">ClosedSubAssign&#60;Right&#62;</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-From%3CT%3E-for-T" title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a href="#impl-IntoEither-for-T" title="IntoEither">IntoEither</a></li><li><a href="#impl-Pointable-for-T" title="Pointable">Pointable</a></li><li><a href="#impl-Same-for-T" title="Same">Same</a></li><li><a href="#impl-Scalar-for-T" title="Scalar">Scalar</a></li><li><a href="#impl-SupersetOf%3CSS%3E-for-SP" title="SupersetOf&#60;SS&#62;">SupersetOf&#60;SS&#62;</a></li><li><a href="#impl-ToOwned-for-T" title="ToOwned">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In rapier3d::<wbr>dynamics</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">rapier3d</a>::<wbr><a href="index.html">dynamics</a></span><h1>Struct <span class="struct">MassProperties</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/parry3d/mass_properties/mass_properties.rs.html#23">Source</a> </span></div><pre class="rust item-decl"><code>pub struct MassProperties {
pub local_com: <a class="struct" href="../../nalgebra/geometry/point/struct.OPoint.html" title="struct nalgebra::geometry::point::OPoint">OPoint</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;3&gt;&gt;,
pub inv_mass: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
pub inv_principal_inertia_sqrt: <a class="struct" href="../../nalgebra/base/matrix/struct.Matrix.html" title="struct nalgebra::base::matrix::Matrix">Matrix</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;3&gt;, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;1&gt;, <a class="struct" href="../../nalgebra/base/array_storage/struct.ArrayStorage.html" title="struct nalgebra::base::array_storage::ArrayStorage">ArrayStorage</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, 3, 1&gt;&gt;,
pub principal_inertia_local_frame: <a class="struct" href="../../nalgebra/base/unit/struct.Unit.html" title="struct nalgebra::base::unit::Unit">Unit</a>&lt;<a class="struct" href="../../nalgebra/geometry/quaternion/struct.Quaternion.html" title="struct nalgebra::geometry::quaternion::Quaternion">Quaternion</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;&gt;,
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The local mass properties of a rigid-body.</p>
</div></details><h2 id="fields" class="fields section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.local_com" class="structfield section-header"><a href="#structfield.local_com" class="anchor field">§</a><code>local_com: <a class="struct" href="../../nalgebra/geometry/point/struct.OPoint.html" title="struct nalgebra::geometry::point::OPoint">OPoint</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;3&gt;&gt;</code></span><div class="docblock"><p>The center of mass of a rigid-body expressed in its local-space.</p>
</div><span id="structfield.inv_mass" class="structfield section-header"><a href="#structfield.inv_mass" class="anchor field">§</a><code>inv_mass: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a></code></span><div class="docblock"><p>The inverse of the mass of a rigid-body.</p>
<p>If this is zero, the rigid-body is assumed to have infinite mass.</p>
</div><span id="structfield.inv_principal_inertia_sqrt" class="structfield section-header"><a href="#structfield.inv_principal_inertia_sqrt" class="anchor field">§</a><code>inv_principal_inertia_sqrt: <a class="struct" href="../../nalgebra/base/matrix/struct.Matrix.html" title="struct nalgebra::base::matrix::Matrix">Matrix</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;3&gt;, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;1&gt;, <a class="struct" href="../../nalgebra/base/array_storage/struct.ArrayStorage.html" title="struct nalgebra::base::array_storage::ArrayStorage">ArrayStorage</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, 3, 1&gt;&gt;</code></span><div class="docblock"><p>The inverse of the principal angular inertia of the rigid-body.</p>
<p>The angular inertia is calculated relative to <a href="struct.MassProperties.html#structfield.local_com" title="field rapier3d::dynamics::MassProperties::local_com"><code>Self::local_com</code></a>.
Components set to zero are assumed to be infinite along the corresponding principal axis.</p>
</div><span id="structfield.principal_inertia_local_frame" class="structfield section-header"><a href="#structfield.principal_inertia_local_frame" class="anchor field">§</a><code>principal_inertia_local_frame: <a class="struct" href="../../nalgebra/base/unit/struct.Unit.html" title="struct nalgebra::base::unit::Unit">Unit</a>&lt;<a class="struct" href="../../nalgebra/geometry/quaternion/struct.Quaternion.html" title="struct nalgebra::geometry::quaternion::Quaternion">Quaternion</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;&gt;</code></span><div class="docblock"><p>The principal vectors of the local angular inertia tensor of the rigid-body.</p>
</div><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-MassProperties" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#40">Source</a><a href="#impl-MassProperties" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.new" class="method"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#61">Source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>(
local_com: <a class="struct" href="../../nalgebra/geometry/point/struct.OPoint.html" title="struct nalgebra::geometry::point::OPoint">OPoint</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;3&gt;&gt;,
mass: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
principal_inertia: <a class="struct" href="../../nalgebra/base/matrix/struct.Matrix.html" title="struct nalgebra::base::matrix::Matrix">Matrix</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;3&gt;, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;1&gt;, <a class="struct" href="../../nalgebra/base/array_storage/struct.ArrayStorage.html" title="struct nalgebra::base::array_storage::ArrayStorage">ArrayStorage</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, 3, 1&gt;&gt;,
) -&gt; <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h4></section></summary><div class="docblock"><p>Initializes the mass properties from the given center-of-mass, mass, and principal angular inertia.</p>
<p>The center-of-mass is specified in the local-space of the rigid-body.
The principal angular inertia are the angular inertia along the coordinate axes in the local-space
of the rigid-body.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.with_principal_inertia_frame" class="method"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#71-76">Source</a><h4 class="code-header">pub fn <a href="#method.with_principal_inertia_frame" class="fn">with_principal_inertia_frame</a>(
local_com: <a class="struct" href="../../nalgebra/geometry/point/struct.OPoint.html" title="struct nalgebra::geometry::point::OPoint">OPoint</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;3&gt;&gt;,
mass: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
principal_inertia: <a class="struct" href="../../nalgebra/base/matrix/struct.Matrix.html" title="struct nalgebra::base::matrix::Matrix">Matrix</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;3&gt;, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;1&gt;, <a class="struct" href="../../nalgebra/base/array_storage/struct.ArrayStorage.html" title="struct nalgebra::base::array_storage::ArrayStorage">ArrayStorage</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, 3, 1&gt;&gt;,
principal_inertia_local_frame: <a class="struct" href="../../nalgebra/base/unit/struct.Unit.html" title="struct nalgebra::base::unit::Unit">Unit</a>&lt;<a class="struct" href="../../nalgebra/geometry/quaternion/struct.Quaternion.html" title="struct nalgebra::geometry::quaternion::Quaternion">Quaternion</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;&gt;,
) -&gt; <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h4></section></summary><div class="docblock"><p>Initializes the mass properties from the given center-of-mass, mass, and principal angular inertia.</p>
<p>The center-of-mass is specified in the local-space of the rigid-body.
The principal angular inertia are the angular inertia along the coordinate axes defined by
the <code>principal_inertia_local_frame</code> expressed in the local-space of the rigid-body.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.with_inertia_matrix" class="method"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#93">Source</a><h4 class="code-header">pub fn <a href="#method.with_inertia_matrix" class="fn">with_inertia_matrix</a>(
local_com: <a class="struct" href="../../nalgebra/geometry/point/struct.OPoint.html" title="struct nalgebra::geometry::point::OPoint">OPoint</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;3&gt;&gt;,
mass: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
inertia: <a class="struct" href="../../nalgebra/base/matrix/struct.Matrix.html" title="struct nalgebra::base::matrix::Matrix">Matrix</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;3&gt;, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;3&gt;, <a class="struct" href="../../nalgebra/base/array_storage/struct.ArrayStorage.html" title="struct nalgebra::base::array_storage::ArrayStorage">ArrayStorage</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, 3, 3&gt;&gt;,
) -&gt; <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h4></section></summary><div class="docblock"><p>Initialize a new <code>MassProperties</code> from a given center-of-mass, mass, and angular inertia matrix.</p>
<p>The angular inertia matrix will be diagonalized in order to extract the principal inertia
values and principal inertia frame.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.mass" class="method"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#117">Source</a><h4 class="code-header">pub fn <a href="#method.mass" class="fn">mass</a>(&amp;self) -&gt; <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>The mass.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.principal_inertia" class="method"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#122">Source</a><h4 class="code-header">pub fn <a href="#method.principal_inertia" class="fn">principal_inertia</a>(
&amp;self,
) -&gt; <a class="struct" href="../../nalgebra/base/matrix/struct.Matrix.html" title="struct nalgebra::base::matrix::Matrix">Matrix</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;3&gt;, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;1&gt;, <a class="struct" href="../../nalgebra/base/array_storage/struct.ArrayStorage.html" title="struct nalgebra::base::array_storage::ArrayStorage">ArrayStorage</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, 3, 1&gt;&gt;</h4></section></summary><div class="docblock"><p>The angular inertia along the principal inertia axes and center of mass of the rigid-body.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.world_com" class="method"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#130">Source</a><h4 class="code-header">pub fn <a href="#method.world_com" class="fn">world_com</a>(
&amp;self,
pos: &amp;<a class="struct" href="../../nalgebra/geometry/isometry/struct.Isometry.html" title="struct nalgebra::geometry::isometry::Isometry">Isometry</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="struct" href="../../nalgebra/base/unit/struct.Unit.html" title="struct nalgebra::base::unit::Unit">Unit</a>&lt;<a class="struct" href="../../nalgebra/geometry/quaternion/struct.Quaternion.html" title="struct nalgebra::geometry::quaternion::Quaternion">Quaternion</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;&gt;, 3&gt;,
) -&gt; <a class="struct" href="../../nalgebra/geometry/point/struct.OPoint.html" title="struct nalgebra::geometry::point::OPoint">OPoint</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;3&gt;&gt;</h4></section></summary><div class="docblock"><p>The world-space center of mass of the rigid-body.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.world_inv_inertia_sqrt" class="method"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#142">Source</a><h4 class="code-header">pub fn <a href="#method.world_inv_inertia_sqrt" class="fn">world_inv_inertia_sqrt</a>(
&amp;self,
rot: &amp;<a class="struct" href="../../nalgebra/base/unit/struct.Unit.html" title="struct nalgebra::base::unit::Unit">Unit</a>&lt;<a class="struct" href="../../nalgebra/geometry/quaternion/struct.Quaternion.html" title="struct nalgebra::geometry::quaternion::Quaternion">Quaternion</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;&gt;,
) -&gt; <a class="struct" href="../../parry3d/utils/sdp_matrix/struct.SdpMatrix3.html" title="struct parry3d::utils::sdp_matrix::SdpMatrix3">SdpMatrix3</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;</h4></section></summary><div class="docblock"><p>The world-space inverse angular inertia tensor of the rigid-body.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.reconstruct_inverse_inertia_matrix" class="method"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#163">Source</a><h4 class="code-header">pub fn <a href="#method.reconstruct_inverse_inertia_matrix" class="fn">reconstruct_inverse_inertia_matrix</a>(
&amp;self,
) -&gt; <a class="struct" href="../../nalgebra/base/matrix/struct.Matrix.html" title="struct nalgebra::base::matrix::Matrix">Matrix</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;3&gt;, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;3&gt;, <a class="struct" href="../../nalgebra/base/array_storage/struct.ArrayStorage.html" title="struct nalgebra::base::array_storage::ArrayStorage">ArrayStorage</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, 3, 3&gt;&gt;</h4></section></summary><div class="docblock"><p>Reconstructs the inverse angular inertia tensor of the rigid body from its principal inertia values and axes.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.reconstruct_inertia_matrix" class="method"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#175">Source</a><h4 class="code-header">pub fn <a href="#method.reconstruct_inertia_matrix" class="fn">reconstruct_inertia_matrix</a>(
&amp;self,
) -&gt; <a class="struct" href="../../nalgebra/base/matrix/struct.Matrix.html" title="struct nalgebra::base::matrix::Matrix">Matrix</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;3&gt;, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;3&gt;, <a class="struct" href="../../nalgebra/base/array_storage/struct.ArrayStorage.html" title="struct nalgebra::base::array_storage::ArrayStorage">ArrayStorage</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, 3, 3&gt;&gt;</h4></section></summary><div class="docblock"><p>Reconstructs the angular inertia tensor of the rigid body from its principal inertia values and axes.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.transform_by" class="method"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#212">Source</a><h4 class="code-header">pub fn <a href="#method.transform_by" class="fn">transform_by</a>(
&amp;self,
m: &amp;<a class="struct" href="../../nalgebra/geometry/isometry/struct.Isometry.html" title="struct nalgebra::geometry::isometry::Isometry">Isometry</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="struct" href="../../nalgebra/base/unit/struct.Unit.html" title="struct nalgebra::base::unit::Unit">Unit</a>&lt;<a class="struct" href="../../nalgebra/geometry/quaternion/struct.Quaternion.html" title="struct nalgebra::geometry::quaternion::Quaternion">Quaternion</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;&gt;, 3&gt;,
) -&gt; <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h4></section></summary><div class="docblock"><p>Transform each element of the mass properties.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.set_mass" class="method"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#232">Source</a><h4 class="code-header">pub fn <a href="#method.set_mass" class="fn">set_mass</a>(&amp;mut self, new_mass: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, adjust_angular_inertia: <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>Changes the mass on these mass-properties.</p>
<p>The <code>adjust_angular_inertia</code> argument should always be <code>true</code>, unless
there are some specific reasons not to do so. Setting this to <code>true</code>
will automatically adjust the angular inertia of <code>self</code> to account
for the mass change (i.e. it will multiply the angular inertia by
<code>new_mass / prev_mass</code>). Setting it to <code>false</code> will not change the
current angular inertia.</p>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MassProperties-1" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties_ball.rs.html#7">Source</a><a href="#impl-MassProperties-1" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_ball" class="method"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties_ball.rs.html#27">Source</a><h4 class="code-header">pub fn <a href="#method.from_ball" class="fn">from_ball</a>(density: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, radius: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -&gt; <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h4></section></summary><div class="docblock"><p>Computes the mass properties of a ball.</p>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MassProperties-2" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties_capsule.rs.html#6">Source</a><a href="#impl-MassProperties-2" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_capsule" class="method"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties_capsule.rs.html#8">Source</a><h4 class="code-header">pub fn <a href="#method.from_capsule" class="fn">from_capsule</a>(
density: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
a: <a class="struct" href="../../nalgebra/geometry/point/struct.OPoint.html" title="struct nalgebra::geometry::point::OPoint">OPoint</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;3&gt;&gt;,
b: <a class="struct" href="../../nalgebra/geometry/point/struct.OPoint.html" title="struct nalgebra::geometry::point::OPoint">OPoint</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;3&gt;&gt;,
radius: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
) -&gt; <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h4></section></summary><div class="docblock"><p>Computes the mass properties of a capsule.</p>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MassProperties-3" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties_compound.rs.html#5">Source</a><a href="#impl-MassProperties-3" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_compound" class="method"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties_compound.rs.html#7">Source</a><h4 class="code-header">pub fn <a href="#method.from_compound" class="fn">from_compound</a>(
density: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
shapes: &amp;[(<a class="struct" href="../../nalgebra/geometry/isometry/struct.Isometry.html" title="struct nalgebra::geometry::isometry::Isometry">Isometry</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="struct" href="../../nalgebra/base/unit/struct.Unit.html" title="struct nalgebra::base::unit::Unit">Unit</a>&lt;<a class="struct" href="../../nalgebra/geometry/quaternion/struct.Quaternion.html" title="struct nalgebra::geometry::quaternion::Quaternion">Quaternion</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;&gt;, 3&gt;, <a class="struct" href="../geometry/struct.SharedShape.html" title="struct rapier3d::geometry::SharedShape">SharedShape</a>)],
) -&gt; <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h4></section></summary><div class="docblock"><p>Computes the mass properties of a compound shape.</p>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MassProperties-4" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties_cone.rs.html#5">Source</a><a href="#impl-MassProperties-4" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_cone" class="method"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties_cone.rs.html#20">Source</a><h4 class="code-header">pub fn <a href="#method.from_cone" class="fn">from_cone</a>(density: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, half_height: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, radius: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -&gt; <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h4></section></summary><div class="docblock"><p>Computes the mass properties of a cone.</p>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MassProperties-5" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties_convex_polyhedron.rs.html#4">Source</a><a href="#impl-MassProperties-5" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_convex_polyhedron" class="method"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties_convex_polyhedron.rs.html#6-10">Source</a><h4 class="code-header">pub fn <a href="#method.from_convex_polyhedron" class="fn">from_convex_polyhedron</a>(
density: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
vertices: &amp;[<a class="struct" href="../../nalgebra/geometry/point/struct.OPoint.html" title="struct nalgebra::geometry::point::OPoint">OPoint</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;3&gt;&gt;],
indices: &amp;[[<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u32.html">u32</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.array.html">3</a>]],
) -&gt; <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h4></section></summary><div class="docblock"><p>Computes the mass properties of a convex polyhedron.</p>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MassProperties-6" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties_cuboid.rs.html#4">Source</a><a href="#impl-MassProperties-6" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_cuboid" class="method"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties_cuboid.rs.html#29">Source</a><h4 class="code-header">pub fn <a href="#method.from_cuboid" class="fn">from_cuboid</a>(
density: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
half_extents: <a class="struct" href="../../nalgebra/base/matrix/struct.Matrix.html" title="struct nalgebra::base::matrix::Matrix">Matrix</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;3&gt;, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;1&gt;, <a class="struct" href="../../nalgebra/base/array_storage/struct.ArrayStorage.html" title="struct nalgebra::base::array_storage::ArrayStorage">ArrayStorage</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, 3, 1&gt;&gt;,
) -&gt; <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h4></section></summary><div class="docblock"><p>Computes the mass properties of a cuboid.</p>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MassProperties-7" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties_cylinder.rs.html#9">Source</a><a href="#impl-MassProperties-7" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_cylinder" class="method"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties_cylinder.rs.html#33">Source</a><h4 class="code-header">pub fn <a href="#method.from_cylinder" class="fn">from_cylinder</a>(
density: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
half_height: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
radius: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
) -&gt; <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h4></section></summary><div class="docblock"><p>Computes the mass properties of a cylinder.</p>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MassProperties-8" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties_trimesh3d.rs.html#6">Source</a><a href="#impl-MassProperties-8" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_trimesh" class="method"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties_trimesh3d.rs.html#8-12">Source</a><h4 class="code-header">pub fn <a href="#method.from_trimesh" class="fn">from_trimesh</a>(
density: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
vertices: &amp;[<a class="struct" href="../../nalgebra/geometry/point/struct.OPoint.html" title="struct nalgebra::geometry::point::OPoint">OPoint</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, <a class="struct" href="../../nalgebra/base/dimension/struct.Const.html" title="struct nalgebra::base::dimension::Const">Const</a>&lt;3&gt;&gt;],
indices: &amp;[[<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u32.html">u32</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.array.html">3</a>]],
) -&gt; <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h4></section></summary><div class="docblock"><p>Computes the mass properties of a triangle mesh.</p>
</div></details></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-AbsDiffEq-for-MassProperties" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#450">Source</a><a href="#impl-AbsDiffEq-for-MassProperties" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../../approx/abs_diff_eq/trait.AbsDiffEq.html" title="trait approx::abs_diff_eq::AbsDiffEq">AbsDiffEq</a> for <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Epsilon" class="associatedtype trait-impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#451">Source</a><a href="#associatedtype.Epsilon" class="anchor">§</a><h4 class="code-header">type <a href="../../approx/abs_diff_eq/trait.AbsDiffEq.html#associatedtype.Epsilon" class="associatedtype">Epsilon</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'>Used for specifying relative comparisons.</div></details><details class="toggle method-toggle" open><summary><section id="method.default_epsilon" class="method trait-impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#452">Source</a><a href="#method.default_epsilon" class="anchor">§</a><h4 class="code-header">fn <a href="../../approx/abs_diff_eq/trait.AbsDiffEq.html#tymethod.default_epsilon" class="fn">default_epsilon</a>() -&gt; &lt;<a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a> as <a class="trait" href="../../approx/abs_diff_eq/trait.AbsDiffEq.html" title="trait approx::abs_diff_eq::AbsDiffEq">AbsDiffEq</a>&gt;::<a class="associatedtype" href="../../approx/abs_diff_eq/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type approx::abs_diff_eq::AbsDiffEq::Epsilon">Epsilon</a></h4></section></summary><div class='docblock'>The default tolerance to use when testing values that are close together. <a href="../../approx/abs_diff_eq/trait.AbsDiffEq.html#tymethod.default_epsilon">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.abs_diff_eq" class="method trait-impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#456">Source</a><a href="#method.abs_diff_eq" class="anchor">§</a><h4 class="code-header">fn <a href="../../approx/abs_diff_eq/trait.AbsDiffEq.html#tymethod.abs_diff_eq" class="fn">abs_diff_eq</a>(
&amp;self,
other: &amp;<a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a>,
epsilon: &lt;<a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a> as <a class="trait" href="../../approx/abs_diff_eq/trait.AbsDiffEq.html" title="trait approx::abs_diff_eq::AbsDiffEq">AbsDiffEq</a>&gt;::<a class="associatedtype" href="../../approx/abs_diff_eq/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type approx::abs_diff_eq::AbsDiffEq::Epsilon">Epsilon</a>,
) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>A test for equality that uses the absolute difference to compute the approximate
equality of two numbers.</div></details><details class="toggle method-toggle" open><summary><section id="method.abs_diff_ne" class="method trait-impl"><a class="src rightside" href="../../src/approx/abs_diff_eq.rs.html#24">Source</a><a href="#method.abs_diff_ne" class="anchor">§</a><h4 class="code-header">fn <a href="../../approx/abs_diff_eq/trait.AbsDiffEq.html#method.abs_diff_ne" class="fn">abs_diff_ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;Rhs</a>, epsilon: Self::<a class="associatedtype" href="../../approx/abs_diff_eq/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type approx::abs_diff_eq::AbsDiffEq::Epsilon">Epsilon</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>The inverse of <a href="../../approx/abs_diff_eq/trait.AbsDiffEq.html#tymethod.abs_diff_eq" title="method approx::abs_diff_eq::AbsDiffEq::abs_diff_eq"><code>AbsDiffEq::abs_diff_eq</code></a>.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add-for-MassProperties" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#330">Source</a><a href="#impl-Add-for-MassProperties" 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.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</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/parry3d/mass_properties/mass_properties.rs.html#331">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.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</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/parry3d/mass_properties/mass_properties.rs.html#358">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, other: <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a>) -&gt; <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</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-MassProperties" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#377">Source</a><a href="#impl-AddAssign-for-MassProperties" 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.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</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/parry3d/mass_properties/mass_properties.rs.html#378">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>(&amp;mut self, rhs: <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</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-Clone-for-MassProperties" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#15">Source</a><a href="#impl-Clone-for-MassProperties" 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.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</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/parry3d/mass_properties/mass_properties.rs.html#15">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>(&amp;self) -&gt; <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</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>(&amp;mut self, source: &amp;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-MassProperties" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#15">Source</a><a href="#impl-Debug-for-MassProperties" 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.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</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/parry3d/mass_properties/mass_properties.rs.html#15">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>(&amp;self, f: &amp;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>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<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>&gt;</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-MassProperties" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#15">Source</a><a href="#impl-Default-for-MassProperties" 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.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</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/parry3d/mass_properties/mass_properties.rs.html#15">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>() -&gt; <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</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-MassProperties" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#16">Source</a><a href="#impl-Deserialize%3C'de%3E-for-MassProperties" class="anchor">§</a><h3 class="code-header">impl&lt;'de&gt; <a class="trait" href="../../serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h3></section></summary><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/parry3d/mass_properties/mass_properties.rs.html#16">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>&lt;__D&gt;(
__deserializer: __D,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a>, &lt;__D as <a class="trait" href="../../serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="../../serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt;<div class="where">where
__D: <a class="trait" href="../../serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,</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-From%3CMassProperties%3E-for-ColliderMassProps" class="impl"><a class="src rightside" href="../../src/rapier3d/geometry/collider_components.rs.html#159-163">Source</a><a href="#impl-From%3CMassProperties%3E-for-ColliderMassProps" 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>&lt;<a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a>&gt; for <a class="enum" href="../geometry/enum.ColliderMassProps.html" title="enum rapier3d::geometry::ColliderMassProps">ColliderMassProps</a></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="../../src/rapier3d/geometry/collider_components.rs.html#160-162">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>(mprops: <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a>) -&gt; Self</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-From%3CMassProperties%3E-for-RigidBodyMassProps" class="impl"><a class="src rightside" href="../../src/rapier3d/dynamics/rigid_body_components.rs.html#292-299">Source</a><a href="#impl-From%3CMassProperties%3E-for-RigidBodyMassProps" 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>&lt;<a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a>&gt; for <a class="struct" href="struct.RigidBodyMassProps.html" title="struct rapier3d::dynamics::RigidBodyMassProps">RigidBodyMassProps</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/rapier3d/dynamics/rigid_body_components.rs.html#293-298">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>(local_mprops: <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a>) -&gt; Self</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-PartialEq-for-MassProperties" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#15">Source</a><a href="#impl-PartialEq-for-MassProperties" 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.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</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/parry3d/mass_properties/mass_properties.rs.html#15">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>(&amp;self, other: &amp;<a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a>) -&gt; <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>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <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-RelativeEq-for-MassProperties" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#476">Source</a><a href="#impl-RelativeEq-for-MassProperties" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../../approx/relative_eq/trait.RelativeEq.html" title="trait approx::relative_eq::RelativeEq">RelativeEq</a> for <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default_max_relative" class="method trait-impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#477">Source</a><a href="#method.default_max_relative" class="anchor">§</a><h4 class="code-header">fn <a href="../../approx/relative_eq/trait.RelativeEq.html#tymethod.default_max_relative" class="fn">default_max_relative</a>() -&gt; &lt;<a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a> as <a class="trait" href="../../approx/abs_diff_eq/trait.AbsDiffEq.html" title="trait approx::abs_diff_eq::AbsDiffEq">AbsDiffEq</a>&gt;::<a class="associatedtype" href="../../approx/abs_diff_eq/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type approx::abs_diff_eq::AbsDiffEq::Epsilon">Epsilon</a></h4></section></summary><div class='docblock'>The default relative tolerance for testing values that are far-apart. <a href="../../approx/relative_eq/trait.RelativeEq.html#tymethod.default_max_relative">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.relative_eq" class="method trait-impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#481-486">Source</a><a href="#method.relative_eq" class="anchor">§</a><h4 class="code-header">fn <a href="../../approx/relative_eq/trait.RelativeEq.html#tymethod.relative_eq" class="fn">relative_eq</a>(
&amp;self,
other: &amp;<a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a>,
epsilon: &lt;<a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a> as <a class="trait" href="../../approx/abs_diff_eq/trait.AbsDiffEq.html" title="trait approx::abs_diff_eq::AbsDiffEq">AbsDiffEq</a>&gt;::<a class="associatedtype" href="../../approx/abs_diff_eq/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type approx::abs_diff_eq::AbsDiffEq::Epsilon">Epsilon</a>,
max_relative: &lt;<a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a> as <a class="trait" href="../../approx/abs_diff_eq/trait.AbsDiffEq.html" title="trait approx::abs_diff_eq::AbsDiffEq">AbsDiffEq</a>&gt;::<a class="associatedtype" href="../../approx/abs_diff_eq/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type approx::abs_diff_eq::AbsDiffEq::Epsilon">Epsilon</a>,
) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>A test for equality that uses a relative comparison if the values are far apart.</div></details><details class="toggle method-toggle" open><summary><section id="method.relative_ne" class="method trait-impl"><a class="src rightside" href="../../src/approx/relative_eq.rs.html#22-27">Source</a><a href="#method.relative_ne" class="anchor">§</a><h4 class="code-header">fn <a href="../../approx/relative_eq/trait.RelativeEq.html#method.relative_ne" class="fn">relative_ne</a>(
&amp;self,
other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;Rhs</a>,
epsilon: Self::<a class="associatedtype" href="../../approx/abs_diff_eq/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type approx::abs_diff_eq::AbsDiffEq::Epsilon">Epsilon</a>,
max_relative: Self::<a class="associatedtype" href="../../approx/abs_diff_eq/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type approx::abs_diff_eq::AbsDiffEq::Epsilon">Epsilon</a>,
) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>The inverse of <a href="../../approx/relative_eq/trait.RelativeEq.html#tymethod.relative_eq" title="method approx::relative_eq::RelativeEq::relative_eq"><code>RelativeEq::relative_eq</code></a>.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Serialize-for-MassProperties" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#16">Source</a><a href="#impl-Serialize-for-MassProperties" 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.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h3></section></summary><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/parry3d/mass_properties/mass_properties.rs.html#16">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>&lt;__S&gt;(
&amp;self,
__serializer: __S,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&lt;__S as <a class="trait" href="../../serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>&gt;::<a class="associatedtype" href="../../serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, &lt;__S as <a class="trait" href="../../serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>&gt;::<a class="associatedtype" href="../../serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>&gt;<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-Sub-for-MassProperties" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#260">Source</a><a href="#impl-Sub-for-MassProperties" 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.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</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/parry3d/mass_properties/mass_properties.rs.html#261">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.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</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/parry3d/mass_properties/mass_properties.rs.html#302">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, other: <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a>) -&gt; <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</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-MassProperties" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#324">Source</a><a href="#impl-SubAssign-for-MassProperties" 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.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</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/parry3d/mass_properties/mass_properties.rs.html#325">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>(&amp;mut self, rhs: <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</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-for-MassProperties" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#384">Source</a><a href="#impl-Sum-for-MassProperties" 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.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</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/parry3d/mass_properties/mass_properties.rs.html#420-422">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>&lt;I&gt;(iter: I) -&gt; <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</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>&lt;Item = <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a>&gt;,</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-Zero-for-MassProperties" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#244">Source</a><a href="#impl-Zero-for-MassProperties" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a> for <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.zero" class="method trait-impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#245">Source</a><a href="#method.zero" class="anchor">§</a><h4 class="code-header">fn <a href="../../num_traits/identities/trait.Zero.html#tymethod.zero" class="fn">zero</a>() -&gt; <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h4></section></summary><div class='docblock'>Returns the additive identity element of <code>Self</code>, <code>0</code>. <a href="../../num_traits/identities/trait.Zero.html#tymethod.zero">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_zero" class="method trait-impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#255">Source</a><a href="#method.is_zero" class="anchor">§</a><h4 class="code-header">fn <a href="../../num_traits/identities/trait.Zero.html#tymethod.is_zero" class="fn">is_zero</a>(&amp;self) -&gt; <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 <code>true</code> if <code>self</code> is equal to the additive identity.</div></details><details class="toggle method-toggle" open><summary><section id="method.set_zero" class="method trait-impl"><a class="src rightside" href="../../src/num_traits/identities.rs.html#23">Source</a><a href="#method.set_zero" class="anchor">§</a><h4 class="code-header">fn <a href="../../num_traits/identities/trait.Zero.html#method.set_zero" class="fn">set_zero</a>(&amp;mut self)</h4></section></summary><div class='docblock'>Sets <code>self</code> to the additive identity element of <code>Self</code>, <code>0</code>.</div></details></div></details><section id="impl-Copy-for-MassProperties" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#15">Source</a><a href="#impl-Copy-for-MassProperties" 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.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h3></section><section id="impl-StructuralPartialEq-for-MassProperties" class="impl"><a class="src rightside" href="../../src/parry3d/mass_properties/mass_properties.rs.html#15">Source</a><a href="#impl-StructuralPartialEq-for-MassProperties" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</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-MassProperties" class="impl"><a href="#impl-Freeze-for-MassProperties" 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.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h3></section><section id="impl-RefUnwindSafe-for-MassProperties" class="impl"><a href="#impl-RefUnwindSafe-for-MassProperties" 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.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h3></section><section id="impl-Send-for-MassProperties" class="impl"><a href="#impl-Send-for-MassProperties" 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.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h3></section><section id="impl-Sync-for-MassProperties" class="impl"><a href="#impl-Sync-for-MassProperties" 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.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h3></section><section id="impl-Unpin-for-MassProperties" class="impl"><a href="#impl-Unpin-for-MassProperties" 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.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a></h3></section><section id="impl-UnwindSafe-for-MassProperties" class="impl"><a href="#impl-UnwindSafe-for-MassProperties" 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.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</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&lt;T&gt; <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>(&amp;self) -&gt; <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&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; 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>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;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&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; 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>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;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-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&lt;T&gt; <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>(&amp;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&lt;T&gt; <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" class="method trait-impl"><a class="src rightside" href="../../src/downcast_rs/lib.rs.html#190">Source</a><a href="#method.into_any" 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>&lt;T&gt;) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;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>&gt;</h4></section></summary><div class='docblock'>Convert <code>Box&lt;dyn Trait&gt;</code> (where <code>Trait: Downcast</code>) to <code>Box&lt;dyn Any&gt;</code>. <code>Box&lt;dyn Any&gt;</code> can
then be further <code>downcast</code> into <code>Box&lt;ConcreteType&gt;</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>&lt;T&gt;) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a>&lt;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>&gt;</h4></section></summary><div class='docblock'>Convert <code>Rc&lt;Trait&gt;</code> (where <code>Trait: Downcast</code>) to <code>Rc&lt;Any&gt;</code>. <code>Rc&lt;Any&gt;</code> can then be
further <code>downcast</code> into <code>Rc&lt;ConcreteType&gt;</code> where <code>ConcreteType</code> implements <code>Trait</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.as_any" class="method trait-impl"><a class="src rightside" href="../../src/downcast_rs/lib.rs.html#192">Source</a><a href="#method.as_any" class="anchor">§</a><h4 class="code-header">fn <a href="../../downcast_rs/trait.Downcast.html#tymethod.as_any" class="fn">as_any</a>(&amp;self) -&gt; &amp;(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>&amp;Trait</code> (where <code>Trait: Downcast</code>) to <code>&amp;Any</code>. This is needed since Rust cannot
generate <code>&amp;Any</code>’s vtable from <code>&amp;Trait</code>’s.</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/downcast_rs/lib.rs.html#193">Source</a><a href="#method.as_any_mut" 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>(&amp;mut self) -&gt; &amp;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>&amp;mut Trait</code> (where <code>Trait: Downcast</code>) to <code>&amp;Any</code>. This is needed since Rust cannot
generate <code>&amp;mut Any</code>’s vtable from <code>&amp;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&lt;T&gt; <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>&lt;T&gt;) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;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>&gt;</h4></section></summary><div class='docblock'>Convert <code>Arc&lt;Trait&gt;</code> (where <code>Trait: Downcast</code>) to <code>Arc&lt;Any&gt;</code>. <code>Arc&lt;Any&gt;</code> can then be
further <code>downcast</code> into <code>Arc&lt;ConcreteType&gt;</code> where <code>ConcreteType</code> implements <code>Trait</code>.</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&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-2" 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-2" 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) -&gt; 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-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&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; 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>&lt;T&gt;,</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) -&gt; 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>&lt;T&gt; 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&lt;T&gt; <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>) -&gt; <a class="enum" href="../../either/enum.Either.html" title="enum either::Either">Either</a>&lt;Self, Self&gt;</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&lt;Self, Self&gt;</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&lt;Self, Self&gt;</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>&lt;F&gt;(self, into_left: F) -&gt; <a class="enum" href="../../either/enum.Either.html" title="enum either::Either">Either</a>&lt;Self, Self&gt;<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>(&amp;Self) -&gt; <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&lt;Self, Self&gt;</code></a>
if <code>into_left(&amp;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&lt;Self, Self&gt;</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-Pointable-for-T" class="impl"><a class="src rightside" href="../../src/crossbeam_epoch/atomic.rs.html#194">Source</a><a href="#impl-Pointable-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../crossbeam_epoch/atomic/trait.Pointable.html" title="trait crossbeam_epoch::atomic::Pointable">Pointable</a> for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.ALIGN" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/crossbeam_epoch/atomic.rs.html#195">Source</a><a href="#associatedconstant.ALIGN" class="anchor">§</a><h4 class="code-header">const <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#associatedconstant.ALIGN" class="constant">ALIGN</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a> = _</h4></section></summary><div class='docblock'>The alignment of pointer.</div></details><details class="toggle" open><summary><section id="associatedtype.Init" class="associatedtype trait-impl"><a class="src rightside" href="../../src/crossbeam_epoch/atomic.rs.html#197">Source</a><a href="#associatedtype.Init" class="anchor">§</a><h4 class="code-header">type <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#associatedtype.Init" class="associatedtype">Init</a> = T</h4></section></summary><div class='docblock'>The type for initializers.</div></details><details class="toggle method-toggle" open><summary><section id="method.init" class="method trait-impl"><a class="src rightside" href="../../src/crossbeam_epoch/atomic.rs.html#199">Source</a><a href="#method.init" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.init" class="fn">init</a>(init: &lt;T as <a class="trait" href="../../crossbeam_epoch/atomic/trait.Pointable.html" title="trait crossbeam_epoch::atomic::Pointable">Pointable</a>&gt;::<a class="associatedtype" href="../../crossbeam_epoch/atomic/trait.Pointable.html#associatedtype.Init" title="type crossbeam_epoch::atomic::Pointable::Init">Init</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a></h4></section></summary><div class='docblock'>Initializes a with the given initializer. <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.init">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl"><a class="src rightside" href="../../src/crossbeam_epoch/atomic.rs.html#203">Source</a><a href="#method.deref" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.deref" class="fn">deref</a>&lt;'a&gt;(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;'a T</a></h4></section></summary><div class='docblock'>Dereferences the given pointer. <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.deref">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deref_mut" class="method trait-impl"><a class="src rightside" href="../../src/crossbeam_epoch/atomic.rs.html#207">Source</a><a href="#method.deref_mut" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.deref_mut" class="fn">deref_mut</a>&lt;'a&gt;(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;'a mut T</a></h4></section></summary><div class='docblock'>Mutably dereferences the given pointer. <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.deref_mut">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.drop" class="method trait-impl"><a class="src rightside" href="../../src/crossbeam_epoch/atomic.rs.html#211">Source</a><a href="#method.drop" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.drop" class="fn">drop</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>)</h4></section></summary><div class='docblock'>Drops the object pointed to by the given pointer. <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.drop">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Same-for-T" class="impl"><a class="src rightside" href="../../src/typenum/type_operators.rs.html#34">Source</a><a href="#impl-Same-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../typenum/type_operators/trait.Same.html" title="trait typenum::type_operators::Same">Same</a> for T</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/typenum/type_operators.rs.html#35">Source</a><a href="#associatedtype.Output-2" class="anchor">§</a><h4 class="code-header">type <a href="../../typenum/type_operators/trait.Same.html#associatedtype.Output" class="associatedtype">Output</a> = T</h4></section></summary><div class='docblock'>Should always be <code>Self</code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-SupersetOf%3CSS%3E-for-SP" class="impl"><a class="src rightside" href="../../src/simba/scalar/subset.rs.html#87">Source</a><a href="#impl-SupersetOf%3CSS%3E-for-SP" class="anchor">§</a><h3 class="code-header">impl&lt;SS, SP&gt; <a class="trait" href="../../simba/scalar/subset/trait.SupersetOf.html" title="trait simba::scalar::subset::SupersetOf">SupersetOf</a>&lt;SS&gt; for SP<div class="where">where
SS: <a class="trait" href="../../simba/scalar/subset/trait.SubsetOf.html" title="trait simba::scalar::subset::SubsetOf">SubsetOf</a>&lt;SP&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.to_subset" class="method trait-impl"><a class="src rightside" href="../../src/simba/scalar/subset.rs.html#89">Source</a><a href="#method.to_subset" class="anchor">§</a><h4 class="code-header">fn <a href="../../simba/scalar/subset/trait.SupersetOf.html#method.to_subset" class="fn">to_subset</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;SS&gt;</h4></section></summary><div class='docblock'>The inverse inclusion map: attempts to construct <code>self</code> from the equivalent element of its
superset. <a href="../../simba/scalar/subset/trait.SupersetOf.html#method.to_subset">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_in_subset" class="method trait-impl"><a class="src rightside" href="../../src/simba/scalar/subset.rs.html#94">Source</a><a href="#method.is_in_subset" class="anchor">§</a><h4 class="code-header">fn <a href="../../simba/scalar/subset/trait.SupersetOf.html#tymethod.is_in_subset" class="fn">is_in_subset</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Checks if <code>self</code> is actually part of its subset <code>T</code> (and can be converted to it).</div></details><details class="toggle method-toggle" open><summary><section id="method.to_subset_unchecked" class="method trait-impl"><a class="src rightside" href="../../src/simba/scalar/subset.rs.html#99">Source</a><a href="#method.to_subset_unchecked" class="anchor">§</a><h4 class="code-header">fn <a href="../../simba/scalar/subset/trait.SupersetOf.html#tymethod.to_subset_unchecked" class="fn">to_subset_unchecked</a>(&amp;self) -&gt; SS</h4></section></summary><div class='docblock'>Use with care! Same as <code>self.to_subset</code> but without any property checks. Always succeeds.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_subset" class="method trait-impl"><a class="src rightside" href="../../src/simba/scalar/subset.rs.html#104">Source</a><a href="#method.from_subset" class="anchor">§</a><h4 class="code-header">fn <a href="../../simba/scalar/subset/trait.SupersetOf.html#tymethod.from_subset" class="fn">from_subset</a>(element: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;SS</a>) -&gt; SP</h4></section></summary><div class='docblock'>The inclusion map: converts <code>self</code> to the equivalent element of its superset.</div></details></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&lt;T&gt; <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>(&amp;self) -&gt; 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>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;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-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&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; 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>&lt;T&gt;,</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) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;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>&lt;U&gt;&gt;::<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>&gt;</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&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; 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>&lt;T&gt;,</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> = &lt;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>&lt;T&gt;&gt;::<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) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;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>&lt;T&gt;&gt;::<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>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><section id="impl-ClosedAdd%3CRight%3E-for-T" class="impl"><a class="src rightside" href="../../src/simba/scalar/field.rs.html#32">Source</a><a href="#impl-ClosedAdd%3CRight%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, Right&gt; <a class="trait" href="../../simba/scalar/field/trait.ClosedAdd.html" title="trait simba::scalar::field::ClosedAdd">ClosedAdd</a>&lt;Right&gt; for T<div class="where">where
T: <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>&lt;Right, Output = T&gt; + <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>&lt;Right&gt;,</div></h3></section><section id="impl-ClosedAddAssign%3CRight%3E-for-T" class="impl"><a class="src rightside" href="../../src/simba/scalar/field.rs.html#42">Source</a><a href="#impl-ClosedAddAssign%3CRight%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, Right&gt; <a class="trait" href="../../simba/scalar/field/trait.ClosedAddAssign.html" title="trait simba::scalar::field::ClosedAddAssign">ClosedAddAssign</a>&lt;Right&gt; for T<div class="where">where
T: <a class="trait" href="../../simba/scalar/field/trait.ClosedAdd.html" title="trait simba::scalar::field::ClosedAdd">ClosedAdd</a>&lt;Right&gt; + <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>&lt;Right&gt;,</div></h3></section><section id="impl-ClosedSub%3CRight%3E-for-T" class="impl"><a class="src rightside" href="../../src/simba/scalar/field.rs.html#34">Source</a><a href="#impl-ClosedSub%3CRight%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, Right&gt; <a class="trait" href="../../simba/scalar/field/trait.ClosedSub.html" title="trait simba::scalar::field::ClosedSub">ClosedSub</a>&lt;Right&gt; for T<div class="where">where
T: <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>&lt;Right, Output = T&gt; + <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>&lt;Right&gt;,</div></h3></section><section id="impl-ClosedSubAssign%3CRight%3E-for-T" class="impl"><a class="src rightside" href="../../src/simba/scalar/field.rs.html#44">Source</a><a href="#impl-ClosedSubAssign%3CRight%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, Right&gt; <a class="trait" href="../../simba/scalar/field/trait.ClosedSubAssign.html" title="trait simba::scalar::field::ClosedSubAssign">ClosedSubAssign</a>&lt;Right&gt; for T<div class="where">where
T: <a class="trait" href="../../simba/scalar/field/trait.ClosedSub.html" title="trait simba::scalar::field::ClosedSub">ClosedSub</a>&lt;Right&gt; + <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>&lt;Right&gt;,</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&lt;T&gt; <a class="trait" href="../../serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a> for T<div class="where">where
T: for&lt;'de&gt; <a class="trait" href="../../serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt;,</div></h3></section><section id="impl-Scalar-for-T" class="impl"><a class="src rightside" href="../../src/nalgebra/base/scalar.rs.html#8">Source</a><a href="#impl-Scalar-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../nalgebra/base/scalar/trait.Scalar.html" title="trait nalgebra::base::scalar::Scalar">Scalar</a> for T<div class="where">where
T: 'static + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>,</div></h3></section></div></section></div></main></body></html>