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

233 lines
118 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="A structure responsible for building a new collider."><title>ColliderBuilder in rapier3d::geometry - 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="#">Collider<wbr>Builder</a></h2><h3><a href="#fields">Fields</a></h3><ul class="block structfield"><li><a href="#structfield.active_collision_types" title="active_collision_types">active_collision_types</a></li><li><a href="#structfield.active_events" title="active_events">active_events</a></li><li><a href="#structfield.active_hooks" title="active_hooks">active_hooks</a></li><li><a href="#structfield.collision_groups" title="collision_groups">collision_groups</a></li><li><a href="#structfield.contact_force_event_threshold" title="contact_force_event_threshold">contact_force_event_threshold</a></li><li><a href="#structfield.contact_skin" title="contact_skin">contact_skin</a></li><li><a href="#structfield.enabled" title="enabled">enabled</a></li><li><a href="#structfield.friction" title="friction">friction</a></li><li><a href="#structfield.friction_combine_rule" title="friction_combine_rule">friction_combine_rule</a></li><li><a href="#structfield.is_sensor" title="is_sensor">is_sensor</a></li><li><a href="#structfield.mass_properties" title="mass_properties">mass_properties</a></li><li><a href="#structfield.position" title="position">position</a></li><li><a href="#structfield.restitution" title="restitution">restitution</a></li><li><a href="#structfield.restitution_combine_rule" title="restitution_combine_rule">restitution_combine_rule</a></li><li><a href="#structfield.shape" title="shape">shape</a></li><li><a href="#structfield.solver_groups" title="solver_groups">solver_groups</a></li><li><a href="#structfield.user_data" title="user_data">user_data</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.active_collision_types" title="active_collision_types">active_collision_types</a></li><li><a href="#method.active_events" title="active_events">active_events</a></li><li><a href="#method.active_hooks" title="active_hooks">active_hooks</a></li><li><a href="#method.ball" title="ball">ball</a></li><li><a href="#method.build" title="build">build</a></li><li><a href="#method.capsule_from_endpoints" title="capsule_from_endpoints">capsule_from_endpoints</a></li><li><a href="#method.capsule_x" title="capsule_x">capsule_x</a></li><li><a href="#method.capsule_y" title="capsule_y">capsule_y</a></li><li><a href="#method.capsule_z" title="capsule_z">capsule_z</a></li><li><a href="#method.collision_groups" title="collision_groups">collision_groups</a></li><li><a href="#method.compound" title="compound">compound</a></li><li><a href="#method.cone" title="cone">cone</a></li><li><a href="#method.contact_force_event_threshold" title="contact_force_event_threshold">contact_force_event_threshold</a></li><li><a href="#method.contact_skin" title="contact_skin">contact_skin</a></li><li><a href="#method.converted_trimesh" title="converted_trimesh">converted_trimesh</a></li><li><a href="#method.convex_decomposition" title="convex_decomposition">convex_decomposition</a></li><li><a href="#method.convex_decomposition_with_params" title="convex_decomposition_with_params">convex_decomposition_with_params</a></li><li><a href="#method.convex_hull" title="convex_hull">convex_hull</a></li><li><a href="#method.convex_mesh" title="convex_mesh">convex_mesh</a></li><li><a href="#method.cuboid" title="cuboid">cuboid</a></li><li><a href="#method.cylinder" title="cylinder">cylinder</a></li><li><a href="#method.default_density" title="default_density">default_density</a></li><li><a href="#method.default_friction" title="default_friction">default_friction</a></li><li><a href="#method.delta" title="delta">delta</a></li><li><a href="#method.density" title="density">density</a></li><li><a href="#method.enabled" title="enabled">enabled</a></li><li><a href="#method.friction" title="friction">friction</a></li><li><a href="#method.friction_combine_rule" title="friction_combine_rule">friction_combine_rule</a></li><li><a href="#method.halfspace" title="halfspace">halfspace</a></li><li><a href="#method.heightfield" title="heightfield">heightfield</a></li><li><a href="#method.heightfield_with_flags" title="heightfield_with_flags">heightfield_with_flags</a></li><li><a href="#method.mass" title="mass">mass</a></li><li><a href="#method.mass_properties" title="mass_properties">mass_properties</a></li><li><a href="#method.new" title="new">new</a></li><li><a href="#method.polyline" title="polyline">polyline</a></li><li><a href="#method.position" title="position">position</a></li><li><a href="#method.position_wrt_parent" title="position_wrt_parent">position_wrt_parent</a></li><li><a href="#method.restitution" title="restitution">restitution</a></li><li><a href="#method.restitution_combine_rule" title="restitution_combine_rule">restitution_combine_rule</a></li><li><a href="#method.rotation" title="rotation">rotation</a></li><li><a href="#method.round_cone" title="round_cone">round_cone</a></li><li><a href="#method.round_convex_decomposition" title="round_convex_decomposition">round_convex_decomposition</a></li><li><a href="#method.round_convex_decomposition_with_params" title="round_convex_decomposition_with_params">round_convex_decomposition_with_params</a></li><li><a href="#method.round_convex_hull" title="round_convex_hull">round_convex_hull</a></li><li><a href="#method.round_convex_mesh" title="round_convex_mesh">round_convex_mesh</a></li><li><a href="#method.round_cuboid" title="round_cuboid">round_cuboid</a></li><li><a href="#method.round_cylinder" title="round_cylinder">round_cylinder</a></li><li><a href="#method.round_triangle" title="round_triangle">round_triangle</a></li><li><a href="#method.segment" title="segment">segment</a></li><li><a href="#method.sensor" title="sensor">sensor</a></li><li><a href="#method.solver_groups" title="solver_groups">solver_groups</a></li><li><a href="#method.translation" title="translation">translation</a></li><li><a href="#method.triangle" title="triangle">triangle</a></li><li><a href="#method.trimesh" title="trimesh">trimesh</a></li><li><a href="#method.trimesh_with_flags" title="trimesh_with_flags">trimesh_with_flags</a></li><li><a href="#method.user_data" title="user_data">user_data</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-ColliderBuilder" title="Clone">Clone</a></li><li><a href="#impl-Debug-for-ColliderBuilder" title="Debug">Debug</a></li><li><a href="#impl-Default-for-ColliderBuilder" title="Default">Default</a></li><li><a href="#impl-Deserialize%3C'de%3E-for-ColliderBuilder" title="Deserialize&#60;&#39;de&#62;">Deserialize&#60;&#39;de&#62;</a></li><li><a href="#impl-From%3CColliderBuilder%3E-for-Collider" title="From&#60;ColliderBuilder&#62;">From&#60;ColliderBuilder&#62;</a></li><li><a href="#impl-Serialize-for-ColliderBuilder" title="Serialize">Serialize</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-ColliderBuilder" title="!RefUnwindSafe">!RefUnwindSafe</a></li><li><a href="#impl-UnwindSafe-for-ColliderBuilder" title="!UnwindSafe">!UnwindSafe</a></li><li><a href="#impl-Freeze-for-ColliderBuilder" title="Freeze">Freeze</a></li><li><a href="#impl-Send-for-ColliderBuilder" title="Send">Send</a></li><li><a href="#impl-Sync-for-ColliderBuilder" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-ColliderBuilder" title="Unpin">Unpin</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-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-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>geometry</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">geometry</a></span><h1>Struct <span class="struct">ColliderBuilder</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/rapier3d/geometry/collider.rs.html#493-528">Source</a> </span></div><pre class="rust item-decl"><code>pub struct ColliderBuilder {<details class="toggle type-contents-toggle"><summary class="hideme"><span>Show 17 fields</span></summary>
pub shape: <a class="struct" href="struct.SharedShape.html" title="struct rapier3d::geometry::SharedShape">SharedShape</a>,
pub mass_properties: <a class="enum" href="enum.ColliderMassProps.html" title="enum rapier3d::geometry::ColliderMassProps">ColliderMassProps</a>,
pub friction: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
pub friction_combine_rule: <a class="enum" href="../dynamics/enum.CoefficientCombineRule.html" title="enum rapier3d::dynamics::CoefficientCombineRule">CoefficientCombineRule</a>,
pub restitution: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
pub restitution_combine_rule: <a class="enum" href="../dynamics/enum.CoefficientCombineRule.html" title="enum rapier3d::dynamics::CoefficientCombineRule">CoefficientCombineRule</a>,
pub position: <a class="type" href="../math/type.Isometry.html" title="type rapier3d::math::Isometry">Isometry</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;,
pub is_sensor: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a>,
pub active_collision_types: <a class="struct" href="struct.ActiveCollisionTypes.html" title="struct rapier3d::geometry::ActiveCollisionTypes">ActiveCollisionTypes</a>,
pub active_hooks: <a class="struct" href="../pipeline/struct.ActiveHooks.html" title="struct rapier3d::pipeline::ActiveHooks">ActiveHooks</a>,
pub active_events: <a class="struct" href="../pipeline/struct.ActiveEvents.html" title="struct rapier3d::pipeline::ActiveEvents">ActiveEvents</a>,
pub user_data: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u128.html">u128</a>,
pub collision_groups: <a class="struct" href="struct.InteractionGroups.html" title="struct rapier3d::geometry::InteractionGroups">InteractionGroups</a>,
pub solver_groups: <a class="struct" href="struct.InteractionGroups.html" title="struct rapier3d::geometry::InteractionGroups">InteractionGroups</a>,
pub enabled: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a>,
pub contact_force_event_threshold: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
pub contact_skin: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
</details>}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A structure responsible for building a new collider.</p>
</div></details><h2 id="fields" class="fields section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.shape" class="structfield section-header"><a href="#structfield.shape" class="anchor field">§</a><code>shape: <a class="struct" href="struct.SharedShape.html" title="struct rapier3d::geometry::SharedShape">SharedShape</a></code></span><div class="docblock"><p>The shape of the collider to be built.</p>
</div><span id="structfield.mass_properties" class="structfield section-header"><a href="#structfield.mass_properties" class="anchor field">§</a><code>mass_properties: <a class="enum" href="enum.ColliderMassProps.html" title="enum rapier3d::geometry::ColliderMassProps">ColliderMassProps</a></code></span><div class="docblock"><p>Controls the way the colliders mass-properties are computed.</p>
</div><span id="structfield.friction" class="structfield section-header"><a href="#structfield.friction" class="anchor field">§</a><code>friction: <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 friction coefficient of the collider to be built.</p>
</div><span id="structfield.friction_combine_rule" class="structfield section-header"><a href="#structfield.friction_combine_rule" class="anchor field">§</a><code>friction_combine_rule: <a class="enum" href="../dynamics/enum.CoefficientCombineRule.html" title="enum rapier3d::dynamics::CoefficientCombineRule">CoefficientCombineRule</a></code></span><div class="docblock"><p>The rule used to combine two friction coefficients.</p>
</div><span id="structfield.restitution" class="structfield section-header"><a href="#structfield.restitution" class="anchor field">§</a><code>restitution: <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 restitution coefficient of the collider to be built.</p>
</div><span id="structfield.restitution_combine_rule" class="structfield section-header"><a href="#structfield.restitution_combine_rule" class="anchor field">§</a><code>restitution_combine_rule: <a class="enum" href="../dynamics/enum.CoefficientCombineRule.html" title="enum rapier3d::dynamics::CoefficientCombineRule">CoefficientCombineRule</a></code></span><div class="docblock"><p>The rule used to combine two restitution coefficients.</p>
</div><span id="structfield.position" class="structfield section-header"><a href="#structfield.position" class="anchor field">§</a><code>position: <a class="type" href="../math/type.Isometry.html" title="type rapier3d::math::Isometry">Isometry</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;</code></span><div class="docblock"><p>The position of this collider.</p>
</div><span id="structfield.is_sensor" class="structfield section-header"><a href="#structfield.is_sensor" class="anchor field">§</a><code>is_sensor: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></code></span><div class="docblock"><p>Is this collider a sensor?</p>
</div><span id="structfield.active_collision_types" class="structfield section-header"><a href="#structfield.active_collision_types" class="anchor field">§</a><code>active_collision_types: <a class="struct" href="struct.ActiveCollisionTypes.html" title="struct rapier3d::geometry::ActiveCollisionTypes">ActiveCollisionTypes</a></code></span><div class="docblock"><p>Contact pairs enabled for this collider.</p>
</div><span id="structfield.active_hooks" class="structfield section-header"><a href="#structfield.active_hooks" class="anchor field">§</a><code>active_hooks: <a class="struct" href="../pipeline/struct.ActiveHooks.html" title="struct rapier3d::pipeline::ActiveHooks">ActiveHooks</a></code></span><div class="docblock"><p>Physics hooks enabled for this collider.</p>
</div><span id="structfield.active_events" class="structfield section-header"><a href="#structfield.active_events" class="anchor field">§</a><code>active_events: <a class="struct" href="../pipeline/struct.ActiveEvents.html" title="struct rapier3d::pipeline::ActiveEvents">ActiveEvents</a></code></span><div class="docblock"><p>Events enabled for this collider.</p>
</div><span id="structfield.user_data" class="structfield section-header"><a href="#structfield.user_data" class="anchor field">§</a><code>user_data: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u128.html">u128</a></code></span><div class="docblock"><p>The user-data of the collider being built.</p>
</div><span id="structfield.collision_groups" class="structfield section-header"><a href="#structfield.collision_groups" class="anchor field">§</a><code>collision_groups: <a class="struct" href="struct.InteractionGroups.html" title="struct rapier3d::geometry::InteractionGroups">InteractionGroups</a></code></span><div class="docblock"><p>The collision groups for the collider being built.</p>
</div><span id="structfield.solver_groups" class="structfield section-header"><a href="#structfield.solver_groups" class="anchor field">§</a><code>solver_groups: <a class="struct" href="struct.InteractionGroups.html" title="struct rapier3d::geometry::InteractionGroups">InteractionGroups</a></code></span><div class="docblock"><p>The solver groups for the collider being built.</p>
</div><span id="structfield.enabled" class="structfield section-header"><a href="#structfield.enabled" class="anchor field">§</a><code>enabled: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></code></span><div class="docblock"><p>Will the collider being built be enabled?</p>
</div><span id="structfield.contact_force_event_threshold" class="structfield section-header"><a href="#structfield.contact_force_event_threshold" class="anchor field">§</a><code>contact_force_event_threshold: <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 total force magnitude beyond which a contact force event can be emitted.</p>
</div><span id="structfield.contact_skin" class="structfield section-header"><a href="#structfield.contact_skin" class="anchor field">§</a><code>contact_skin: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a></code></span><div class="docblock"><p>An extra thickness around the collider shape to keep them further apart when colliding.</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-ColliderBuilder" class="impl"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#536-1072">Source</a><a href="#impl-ColliderBuilder" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.ColliderBuilder.html" title="struct rapier3d::geometry::ColliderBuilder">ColliderBuilder</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/rapier3d/geometry/collider.rs.html#538-558">Source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>(shape: <a class="struct" href="struct.SharedShape.html" title="struct rapier3d::geometry::SharedShape">SharedShape</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Initialize a new collider builder with the given shape.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.compound" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#561-563">Source</a><h4 class="code-header">pub fn <a href="#method.compound" class="fn">compound</a>(shapes: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(<a class="type" href="../math/type.Isometry.html" title="type rapier3d::math::Isometry">Isometry</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;, <a class="struct" href="struct.SharedShape.html" title="struct rapier3d::geometry::SharedShape">SharedShape</a>)&gt;) -&gt; Self</h4></section></summary><div class="docblock"><p>Initialize a new collider builder with a compound shape.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.ball" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#566-568">Source</a><h4 class="code-header">pub fn <a href="#method.ball" class="fn">ball</a>(radius: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Initialize a new collider builder with a ball shape defined by its radius.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.halfspace" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#572-574">Source</a><h4 class="code-header">pub fn <a href="#method.halfspace" class="fn">halfspace</a>(outward_normal: <a class="struct" href="../../nalgebra/base/unit/struct.Unit.html" title="struct nalgebra::base::unit::Unit">Unit</a>&lt;<a class="type" href="../math/type.Vector.html" title="type rapier3d::math::Vector">Vector</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;&gt;) -&gt; Self</h4></section></summary><div class="docblock"><p>Initialize a new collider build with a half-space shape defined by the outward normal
of its planar boundary.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.cylinder" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#579-581">Source</a><h4 class="code-header">pub fn <a href="#method.cylinder" class="fn">cylinder</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; Self</h4></section></summary><div class="docblock"><p>Initialize a new collider builder with a cylindrical shape defined by its half-height
(along the Y axis) and its radius.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.round_cylinder" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#587-593">Source</a><h4 class="code-header">pub fn <a href="#method.round_cylinder" class="fn">round_cylinder</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>, border_radius: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Initialize a new collider builder with a rounded cylindrical shape defined by its half-height
(along the Y axis), its radius, and its roundedness (the radius of the sphere used for
dilating the cylinder).</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.cone" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#598-600">Source</a><h4 class="code-header">pub fn <a href="#method.cone" class="fn">cone</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; Self</h4></section></summary><div class="docblock"><p>Initialize a new collider builder with a cone shape defined by its half-height
(along the Y axis) and its basis radius.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.round_cone" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#606-608">Source</a><h4 class="code-header">pub fn <a href="#method.round_cone" class="fn">round_cone</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>, border_radius: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Initialize a new collider builder with a rounded cone shape defined by its half-height
(along the Y axis), its radius, and its roundedness (the radius of the sphere used for
dilating the cylinder).</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.capsule_from_endpoints" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#629-631">Source</a><h4 class="code-header">pub fn <a href="#method.capsule_from_endpoints" class="fn">capsule_from_endpoints</a>(a: <a class="type" href="../math/type.Point.html" title="type rapier3d::math::Point">Point</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;, b: <a class="type" href="../math/type.Point.html" title="type rapier3d::math::Point">Point</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;, radius: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Initialize a new collider builder with a capsule defined from its endpoints.</p>
<p>See also <a href="struct.ColliderBuilder.html#method.capsule_x" title="associated function rapier3d::geometry::ColliderBuilder::capsule_x"><code>ColliderBuilder::capsule_x</code></a>, <a href="struct.ColliderBuilder.html#method.capsule_y" title="associated function rapier3d::geometry::ColliderBuilder::capsule_y"><code>ColliderBuilder::capsule_y</code></a>,
(and <code>ColliderBuilder::capsule_z</code> in 3D only)
for a simpler way to build capsules with common
orientations.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.capsule_x" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#634-636">Source</a><h4 class="code-header">pub fn <a href="#method.capsule_x" class="fn">capsule_x</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; Self</h4></section></summary><div class="docblock"><p>Initialize a new collider builder with a capsule shape aligned with the <code>x</code> axis.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.capsule_y" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#639-641">Source</a><h4 class="code-header">pub fn <a href="#method.capsule_y" class="fn">capsule_y</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; Self</h4></section></summary><div class="docblock"><p>Initialize a new collider builder with a capsule shape aligned with the <code>y</code> axis.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.capsule_z" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#645-647">Source</a><h4 class="code-header">pub fn <a href="#method.capsule_z" class="fn">capsule_z</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; Self</h4></section></summary><div class="docblock"><p>Initialize a new collider builder with a capsule shape aligned with the <code>z</code> axis.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.cuboid" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#651-653">Source</a><h4 class="code-header">pub fn <a href="#method.cuboid" class="fn">cuboid</a>(hx: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, hy: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, hz: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Initialize a new collider builder with a cuboid shape defined by its half-extents.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.round_cuboid" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#658-660">Source</a><h4 class="code-header">pub fn <a href="#method.round_cuboid" class="fn">round_cuboid</a>(hx: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, hy: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, hz: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>, border_radius: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Initialize a new collider builder with a round cuboid shape defined by its half-extents
and border radius.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.segment" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#663-665">Source</a><h4 class="code-header">pub fn <a href="#method.segment" class="fn">segment</a>(a: <a class="type" href="../math/type.Point.html" title="type rapier3d::math::Point">Point</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;, b: <a class="type" href="../math/type.Point.html" title="type rapier3d::math::Point">Point</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;) -&gt; Self</h4></section></summary><div class="docblock"><p>Initializes a collider builder with a segment shape.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.triangle" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#668-670">Source</a><h4 class="code-header">pub fn <a href="#method.triangle" class="fn">triangle</a>(a: <a class="type" href="../math/type.Point.html" title="type rapier3d::math::Point">Point</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;, b: <a class="type" href="../math/type.Point.html" title="type rapier3d::math::Point">Point</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;, c: <a class="type" href="../math/type.Point.html" title="type rapier3d::math::Point">Point</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;) -&gt; Self</h4></section></summary><div class="docblock"><p>Initializes a collider builder with a triangle shape.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.round_triangle" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#673-680">Source</a><h4 class="code-header">pub fn <a href="#method.round_triangle" class="fn">round_triangle</a>(
a: <a class="type" href="../math/type.Point.html" title="type rapier3d::math::Point">Point</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;,
b: <a class="type" href="../math/type.Point.html" title="type rapier3d::math::Point">Point</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;,
c: <a class="type" href="../math/type.Point.html" title="type rapier3d::math::Point">Point</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;,
border_radius: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
) -&gt; Self</h4></section></summary><div class="docblock"><p>Initializes a collider builder with a triangle shape with round corners.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.polyline" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#683-685">Source</a><h4 class="code-header">pub fn <a href="#method.polyline" class="fn">polyline</a>(
vertices: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="type" href="../math/type.Point.html" title="type rapier3d::math::Point">Point</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;&gt;,
indices: <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;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;[<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">2</a>]&gt;&gt;,
) -&gt; Self</h4></section></summary><div class="docblock"><p>Initializes a collider builder with a polyline shape defined by its vertex and index buffers.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.trimesh" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#688-693">Source</a><h4 class="code-header">pub fn <a href="#method.trimesh" class="fn">trimesh</a>(
vertices: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="type" href="../math/type.Point.html" title="type rapier3d::math::Point">Point</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;&gt;,
indices: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;[<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;,
) -&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;Self, <a class="enum" href="enum.TriMeshBuilderError.html" title="enum rapier3d::geometry::TriMeshBuilderError">TriMeshBuilderError</a>&gt;</h4></section></summary><div class="docblock"><p>Initializes a collider builder with a triangle mesh shape defined by its vertex and index buffers.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.trimesh_with_flags" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#697-705">Source</a><h4 class="code-header">pub fn <a href="#method.trimesh_with_flags" class="fn">trimesh_with_flags</a>(
vertices: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="type" href="../math/type.Point.html" title="type rapier3d::math::Point">Point</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;&gt;,
indices: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;[<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;,
flags: <a class="struct" href="struct.TriMeshFlags.html" title="struct rapier3d::geometry::TriMeshFlags">TriMeshFlags</a>,
) -&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;Self, <a class="enum" href="enum.TriMeshBuilderError.html" title="enum rapier3d::geometry::TriMeshBuilderError">TriMeshBuilderError</a>&gt;</h4></section></summary><div class="docblock"><p>Initializes a collider builder with a triangle mesh shape defined by its vertex and index buffers and
flags controlling its pre-processing.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.converted_trimesh" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#713-720">Source</a><h4 class="code-header">pub fn <a href="#method.converted_trimesh" class="fn">converted_trimesh</a>(
vertices: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="type" href="../math/type.Point.html" title="type rapier3d::math::Point">Point</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;&gt;,
indices: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;[<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;,
converter: <a class="enum" href="enum.MeshConverter.html" title="enum rapier3d::geometry::MeshConverter">MeshConverter</a>,
) -&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;Self, <a class="enum" href="enum.MeshConverterError.html" title="enum rapier3d::geometry::MeshConverterError">MeshConverterError</a>&gt;</h4></section></summary><div class="docblock"><p>Initializes a collider builder with a shape converted from the given triangle mesh index
and vertex buffer.</p>
<p>All the conversion variants could be achieved with other constructors of <a href="struct.ColliderBuilder.html" title="struct rapier3d::geometry::ColliderBuilder"><code>ColliderBuilder</code></a>
but having this specified by an enum can occasionally be easier or more flexible (determined
at runtime).</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.convex_decomposition" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#724-726">Source</a><h4 class="code-header">pub fn <a href="#method.convex_decomposition" class="fn">convex_decomposition</a>(
vertices: &amp;[<a class="type" href="../math/type.Point.html" title="type rapier3d::math::Point">Point</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&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; Self</h4></section></summary><div class="docblock"><p>Initializes a collider builder with a compound shape obtained from the decomposition of
the given trimesh (in 3D) or polyline (in 2D) into convex parts.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.round_convex_decomposition" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#730-740">Source</a><h4 class="code-header">pub fn <a href="#method.round_convex_decomposition" class="fn">round_convex_decomposition</a>(
vertices: &amp;[<a class="type" href="../math/type.Point.html" title="type rapier3d::math::Point">Point</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&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>]],
border_radius: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
) -&gt; Self</h4></section></summary><div class="docblock"><p>Initializes a collider builder with a compound shape obtained from the decomposition of
the given trimesh (in 3D) or polyline (in 2D) into convex parts dilated with round corners.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.convex_decomposition_with_params" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#744-752">Source</a><h4 class="code-header">pub fn <a href="#method.convex_decomposition_with_params" class="fn">convex_decomposition_with_params</a>(
vertices: &amp;[<a class="type" href="../math/type.Point.html" title="type rapier3d::math::Point">Point</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&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>]],
params: &amp;<a class="struct" href="../../parry3d/transformation/vhacd/parameters/struct.VHACDParameters.html" title="struct parry3d::transformation::vhacd::parameters::VHACDParameters">VHACDParameters</a>,
) -&gt; Self</h4></section></summary><div class="docblock"><p>Initializes a collider builder with a compound shape obtained from the decomposition of
the given trimesh (in 3D) or polyline (in 2D) into convex parts.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.round_convex_decomposition_with_params" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#756-768">Source</a><h4 class="code-header">pub fn <a href="#method.round_convex_decomposition_with_params" class="fn">round_convex_decomposition_with_params</a>(
vertices: &amp;[<a class="type" href="../math/type.Point.html" title="type rapier3d::math::Point">Point</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&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>]],
params: &amp;<a class="struct" href="../../parry3d/transformation/vhacd/parameters/struct.VHACDParameters.html" title="struct parry3d::transformation::vhacd::parameters::VHACDParameters">VHACDParameters</a>,
border_radius: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
) -&gt; Self</h4></section></summary><div class="docblock"><p>Initializes a collider builder with a compound shape obtained from the decomposition of
the given trimesh (in 3D) or polyline (in 2D) into convex parts dilated with round corners.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.convex_hull" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#772-774">Source</a><h4 class="code-header">pub fn <a href="#method.convex_hull" class="fn">convex_hull</a>(points: &amp;[<a class="type" href="../math/type.Point.html" title="type rapier3d::math::Point">Point</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;]) -&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;Self&gt;</h4></section></summary><div class="docblock"><p>Initializes a new collider builder with a 2D convex polygon or 3D convex polyhedron
obtained after computing the convex-hull of the given points.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.round_convex_hull" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#779-781">Source</a><h4 class="code-header">pub fn <a href="#method.round_convex_hull" class="fn">round_convex_hull</a>(
points: &amp;[<a class="type" href="../math/type.Point.html" title="type rapier3d::math::Point">Point</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;],
border_radius: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
) -&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;Self&gt;</h4></section></summary><div class="docblock"><p>Initializes a new collider builder with a round 2D convex polygon or 3D convex polyhedron
obtained after computing the convex-hull of the given points. The shape is dilated
by a sphere of radius <code>border_radius</code>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.convex_mesh" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#803-805">Source</a><h4 class="code-header">pub fn <a href="#method.convex_mesh" class="fn">convex_mesh</a>(
points: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="type" href="../math/type.Point.html" title="type rapier3d::math::Point">Point</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&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="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</h4></section></summary><div class="docblock"><p>Creates a new collider builder that is a convex polyhedron formed by the
given triangle-mesh assumed to be convex (no convex-hull will be automatically
computed).</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.round_convex_mesh" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#811-817">Source</a><h4 class="code-header">pub fn <a href="#method.round_convex_mesh" class="fn">round_convex_mesh</a>(
points: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="type" href="../math/type.Point.html" title="type rapier3d::math::Point">Point</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&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>]],
border_radius: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>,
) -&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;Self&gt;</h4></section></summary><div class="docblock"><p>Creates a new collider builder that is a round convex polyhedron formed by the
given triangle-mesh assumed to be convex (no convex-hull will be automatically
computed). The triangle mesh shape is dilated by a sphere of radius <code>border_radius</code>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.heightfield" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#829-831">Source</a><h4 class="code-header">pub fn <a href="#method.heightfield" class="fn">heightfield</a>(heights: <a class="type" href="../prelude/type.DMatrix.html" title="type rapier3d::prelude::DMatrix">DMatrix</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;, scale: <a class="type" href="../math/type.Vector.html" title="type rapier3d::math::Vector">Vector</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;) -&gt; Self</h4></section></summary><div class="docblock"><p>Initializes a collider builder with a heightfield shape defined by its set of height and a scale
factor along each coordinate axis.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.heightfield_with_flags" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#836-842">Source</a><h4 class="code-header">pub fn <a href="#method.heightfield_with_flags" class="fn">heightfield_with_flags</a>(
heights: <a class="type" href="../prelude/type.DMatrix.html" title="type rapier3d::prelude::DMatrix">DMatrix</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;,
scale: <a class="type" href="../math/type.Vector.html" title="type rapier3d::math::Vector">Vector</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;,
flags: <a class="struct" href="struct.HeightFieldFlags.html" title="struct rapier3d::geometry::HeightFieldFlags">HeightFieldFlags</a>,
) -&gt; Self</h4></section></summary><div class="docblock"><p>Initializes a collider builder with a heightfield shape defined by its set of height and a scale
factor along each coordinate axis.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.default_friction" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#845-847">Source</a><h4 class="code-header">pub fn <a href="#method.default_friction" class="fn">default_friction</a>() -&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 default friction coefficient used by the collider builder.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.default_density" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#850-852">Source</a><h4 class="code-header">pub fn <a href="#method.default_density" class="fn">default_density</a>() -&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 default density used by the collider builder.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.user_data" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#855-858">Source</a><h4 class="code-header">pub fn <a href="#method.user_data" class="fn">user_data</a>(self, data: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u128.html">u128</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Sets an arbitrary user-defined 128-bit integer associated to the colliders built by this builder.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.collision_groups" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#864-867">Source</a><h4 class="code-header">pub fn <a href="#method.collision_groups" class="fn">collision_groups</a>(self, groups: <a class="struct" href="struct.InteractionGroups.html" title="struct rapier3d::geometry::InteractionGroups">InteractionGroups</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Sets the collision groups used by this collider.</p>
<p>Two colliders will interact iff. their collision groups are compatible.
See <a href="struct.InteractionGroups.html#method.test" title="method rapier3d::geometry::InteractionGroups::test">InteractionGroups::test</a> for details.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.solver_groups" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#873-876">Source</a><h4 class="code-header">pub fn <a href="#method.solver_groups" class="fn">solver_groups</a>(self, groups: <a class="struct" href="struct.InteractionGroups.html" title="struct rapier3d::geometry::InteractionGroups">InteractionGroups</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Sets the solver groups used by this collider.</p>
<p>Forces between two colliders in contact will be computed iff their solver groups are
compatible. See <a href="struct.InteractionGroups.html#method.test" title="method rapier3d::geometry::InteractionGroups::test">InteractionGroups::test</a> for details.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.sensor" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#879-882">Source</a><h4 class="code-header">pub fn <a href="#method.sensor" class="fn">sensor</a>(self, is_sensor: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Sets whether or not the collider built by this builder is a sensor.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.active_hooks" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#885-888">Source</a><h4 class="code-header">pub fn <a href="#method.active_hooks" class="fn">active_hooks</a>(self, active_hooks: <a class="struct" href="../pipeline/struct.ActiveHooks.html" title="struct rapier3d::pipeline::ActiveHooks">ActiveHooks</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>The set of physics hooks enabled for this collider.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.active_events" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#891-894">Source</a><h4 class="code-header">pub fn <a href="#method.active_events" class="fn">active_events</a>(self, active_events: <a class="struct" href="../pipeline/struct.ActiveEvents.html" title="struct rapier3d::pipeline::ActiveEvents">ActiveEvents</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>The set of events enabled for this collider.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.active_collision_types" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#897-900">Source</a><h4 class="code-header">pub fn <a href="#method.active_collision_types" class="fn">active_collision_types</a>(
self,
active_collision_types: <a class="struct" href="struct.ActiveCollisionTypes.html" title="struct rapier3d::geometry::ActiveCollisionTypes">ActiveCollisionTypes</a>,
) -&gt; Self</h4></section></summary><div class="docblock"><p>The set of active collision types for this collider.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.friction" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#903-906">Source</a><h4 class="code-header">pub fn <a href="#method.friction" class="fn">friction</a>(self, friction: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Sets the friction coefficient of the collider this builder will build.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.friction_combine_rule" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#909-912">Source</a><h4 class="code-header">pub fn <a href="#method.friction_combine_rule" class="fn">friction_combine_rule</a>(self, rule: <a class="enum" href="../dynamics/enum.CoefficientCombineRule.html" title="enum rapier3d::dynamics::CoefficientCombineRule">CoefficientCombineRule</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Sets the rule to be used to combine two friction coefficients in a contact.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.restitution" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#915-918">Source</a><h4 class="code-header">pub fn <a href="#method.restitution" class="fn">restitution</a>(self, restitution: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Sets the restitution coefficient of the collider this builder will build.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.restitution_combine_rule" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#921-924">Source</a><h4 class="code-header">pub fn <a href="#method.restitution_combine_rule" class="fn">restitution_combine_rule</a>(self, rule: <a class="enum" href="../dynamics/enum.CoefficientCombineRule.html" title="enum rapier3d::dynamics::CoefficientCombineRule">CoefficientCombineRule</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Sets the rule to be used to combine two restitution coefficients in a contact.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.density" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#933-936">Source</a><h4 class="code-header">pub fn <a href="#method.density" class="fn">density</a>(self, density: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Sets the uniform density of the collider this builder will build.</p>
<p>This will be overridden by a call to <a href="struct.ColliderBuilder.html#method.mass" title="method rapier3d::geometry::ColliderBuilder::mass"><code>Self::mass</code></a> or <a href="struct.ColliderBuilder.html#method.mass_properties" title="method rapier3d::geometry::ColliderBuilder::mass_properties"><code>Self::mass_properties</code></a> so it only
makes sense to call either <a href="struct.ColliderBuilder.html#method.density" title="method rapier3d::geometry::ColliderBuilder::density"><code>Self::density</code></a> or <a href="struct.ColliderBuilder.html#method.mass" title="method rapier3d::geometry::ColliderBuilder::mass"><code>Self::mass</code></a> or <a href="struct.ColliderBuilder.html#method.mass_properties" title="method rapier3d::geometry::ColliderBuilder::mass_properties"><code>Self::mass_properties</code></a>.</p>
<p>The mass and angular inertia of this collider will be computed automatically based on its
shape.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.mass" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#945-948">Source</a><h4 class="code-header">pub fn <a href="#method.mass" class="fn">mass</a>(self, mass: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Sets the mass of the collider this builder will build.</p>
<p>This will be overridden by a call to <a href="struct.ColliderBuilder.html#method.density" title="method rapier3d::geometry::ColliderBuilder::density"><code>Self::density</code></a> or <a href="struct.ColliderBuilder.html#method.mass_properties" title="method rapier3d::geometry::ColliderBuilder::mass_properties"><code>Self::mass_properties</code></a> so it only
makes sense to call either <a href="struct.ColliderBuilder.html#method.density" title="method rapier3d::geometry::ColliderBuilder::density"><code>Self::density</code></a> or <a href="struct.ColliderBuilder.html#method.mass" title="method rapier3d::geometry::ColliderBuilder::mass"><code>Self::mass</code></a> or <a href="struct.ColliderBuilder.html#method.mass_properties" title="method rapier3d::geometry::ColliderBuilder::mass_properties"><code>Self::mass_properties</code></a>.</p>
<p>The angular inertia of this collider will be computed automatically based on its shape
and this mass value.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.mass_properties" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#954-957">Source</a><h4 class="code-header">pub fn <a href="#method.mass_properties" class="fn">mass_properties</a>(self, mass_properties: <a class="struct" href="../dynamics/struct.MassProperties.html" title="struct rapier3d::dynamics::MassProperties">MassProperties</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Sets the mass properties of the collider this builder will build.</p>
<p>This will be overridden by a call to <a href="struct.ColliderBuilder.html#method.density" title="method rapier3d::geometry::ColliderBuilder::density"><code>Self::density</code></a> or <a href="struct.ColliderBuilder.html#method.mass" title="method rapier3d::geometry::ColliderBuilder::mass"><code>Self::mass</code></a> so it only
makes sense to call either <a href="struct.ColliderBuilder.html#method.density" title="method rapier3d::geometry::ColliderBuilder::density"><code>Self::density</code></a> or <a href="struct.ColliderBuilder.html#method.mass" title="method rapier3d::geometry::ColliderBuilder::mass"><code>Self::mass</code></a> or <a href="struct.ColliderBuilder.html#method.mass_properties" title="method rapier3d::geometry::ColliderBuilder::mass_properties"><code>Self::mass_properties</code></a>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.contact_force_event_threshold" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#960-963">Source</a><h4 class="code-header">pub fn <a href="#method.contact_force_event_threshold" class="fn">contact_force_event_threshold</a>(self, threshold: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Sets the total force magnitude beyond which a contact force event can be emitted.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.translation" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#969-972">Source</a><h4 class="code-header">pub fn <a href="#method.translation" class="fn">translation</a>(self, translation: <a class="type" href="../math/type.Vector.html" title="type rapier3d::math::Vector">Vector</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;) -&gt; Self</h4></section></summary><div class="docblock"><p>Sets the initial translation of the collider to be created.</p>
<p>If the collider will be attached to a rigid-body, this sets the translation relative to the
rigid-body it will be attached to.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.rotation" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#978-981">Source</a><h4 class="code-header">pub fn <a href="#method.rotation" class="fn">rotation</a>(self, angle: <a class="type" href="../math/type.AngVector.html" title="type rapier3d::math::AngVector">AngVector</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;) -&gt; Self</h4></section></summary><div class="docblock"><p>Sets the initial orientation of the collider to be created.</p>
<p>If the collider will be attached to a rigid-body, this sets the orientation relative to the
rigid-body it will be attached to.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.position" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#987-990">Source</a><h4 class="code-header">pub fn <a href="#method.position" class="fn">position</a>(self, pos: <a class="type" href="../math/type.Isometry.html" title="type rapier3d::math::Isometry">Isometry</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;) -&gt; Self</h4></section></summary><div class="docblock"><p>Sets the initial position (translation and orientation) of the collider to be created.</p>
<p>If the collider will be attached to a rigid-body, this sets the position relative
to the rigid-body it will be attached to.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.position_wrt_parent" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#995-998">Source</a><h4 class="code-header">pub fn <a href="#method.position_wrt_parent" class="fn">position_wrt_parent</a>(self, pos: <a class="type" href="../math/type.Isometry.html" title="type rapier3d::math::Isometry">Isometry</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;) -&gt; Self</h4></section><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated: Use <code>.position</code> instead.</span></div></span></summary><div class="docblock"><p>Sets the initial position (translation and orientation) of the collider to be created,
relative to the rigid-body it is attached to.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.delta" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#1002-1005">Source</a><h4 class="code-header">pub fn <a href="#method.delta" class="fn">delta</a>(self, delta: <a class="type" href="../math/type.Isometry.html" title="type rapier3d::math::Isometry">Isometry</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>&gt;) -&gt; Self</h4></section><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated: Use <code>.position</code> instead.</span></div></span></summary><div class="docblock"><p>Set the position of this collider in the local-space of the rigid-body it is attached to.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.contact_skin" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#1016-1019">Source</a><h4 class="code-header">pub fn <a href="#method.contact_skin" class="fn">contact_skin</a>(self, skin_thickness: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.f32.html">f32</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Sets the contact skin of the collider.</p>
<p>The contact skin acts as if the collider was enlarged with a skin of width <code>skin_thickness</code>
around it, keeping objects further apart when colliding.</p>
<p>A non-zero contact skin can increase performance, and in some cases, stability. However
it creates a small gap between colliding object (equal to the sum of their skin). If the
skin is sufficiently small, this might not be visually significant or can be hidden by the
rendering assets.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.enabled" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#1022-1025">Source</a><h4 class="code-header">pub fn <a href="#method.enabled" class="fn">enabled</a>(self, enabled: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Enable or disable the collider after its creation.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.build" class="method"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#1028-1071">Source</a><h4 class="code-header">pub fn <a href="#method.build" class="fn">build</a>(&amp;self) -&gt; <a class="struct" href="struct.Collider.html" title="struct rapier3d::geometry::Collider">Collider</a></h4></section></summary><div class="docblock"><p>Builds a new collider attached to the given rigid-body.</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-Clone-for-ColliderBuilder" class="impl"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#490">Source</a><a href="#impl-Clone-for-ColliderBuilder" 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.ColliderBuilder.html" title="struct rapier3d::geometry::ColliderBuilder">ColliderBuilder</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/rapier3d/geometry/collider.rs.html#490">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.ColliderBuilder.html" title="struct rapier3d::geometry::ColliderBuilder">ColliderBuilder</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-ColliderBuilder" class="impl"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#490">Source</a><a href="#impl-Debug-for-ColliderBuilder" 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.ColliderBuilder.html" title="struct rapier3d::geometry::ColliderBuilder">ColliderBuilder</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/rapier3d/geometry/collider.rs.html#490">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="type" href="https://doc.rust-lang.org/1.84.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Default-for-ColliderBuilder" class="impl"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#530-534">Source</a><a href="#impl-Default-for-ColliderBuilder" 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.ColliderBuilder.html" title="struct rapier3d::geometry::ColliderBuilder">ColliderBuilder</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/rapier3d/geometry/collider.rs.html#531-533">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; Self</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-ColliderBuilder" class="impl"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#491">Source</a><a href="#impl-Deserialize%3C'de%3E-for-ColliderBuilder" 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.ColliderBuilder.html" title="struct rapier3d::geometry::ColliderBuilder">ColliderBuilder</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/rapier3d/geometry/collider.rs.html#491">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;Self, __D::<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%3CColliderBuilder%3E-for-Collider" class="impl"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#1074-1078">Source</a><a href="#impl-From%3CColliderBuilder%3E-for-Collider" 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.ColliderBuilder.html" title="struct rapier3d::geometry::ColliderBuilder">ColliderBuilder</a>&gt; for <a class="struct" href="struct.Collider.html" title="struct rapier3d::geometry::Collider">Collider</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/geometry/collider.rs.html#1075-1077">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>(val: <a class="struct" href="struct.ColliderBuilder.html" title="struct rapier3d::geometry::ColliderBuilder">ColliderBuilder</a>) -&gt; <a class="struct" href="struct.Collider.html" title="struct rapier3d::geometry::Collider">Collider</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Serialize-for-ColliderBuilder" class="impl"><a class="src rightside" href="../../src/rapier3d/geometry/collider.rs.html#491">Source</a><a href="#impl-Serialize-for-ColliderBuilder" 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.ColliderBuilder.html" title="struct rapier3d::geometry::ColliderBuilder">ColliderBuilder</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/rapier3d/geometry/collider.rs.html#491">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;__S::<a class="associatedtype" href="../../serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, __S::<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></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-ColliderBuilder" class="impl"><a href="#impl-Freeze-for-ColliderBuilder" 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.ColliderBuilder.html" title="struct rapier3d::geometry::ColliderBuilder">ColliderBuilder</a></h3></section><section id="impl-RefUnwindSafe-for-ColliderBuilder" class="impl"><a href="#impl-RefUnwindSafe-for-ColliderBuilder" 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.ColliderBuilder.html" title="struct rapier3d::geometry::ColliderBuilder">ColliderBuilder</a></h3></section><section id="impl-Send-for-ColliderBuilder" class="impl"><a href="#impl-Send-for-ColliderBuilder" 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.ColliderBuilder.html" title="struct rapier3d::geometry::ColliderBuilder">ColliderBuilder</a></h3></section><section id="impl-Sync-for-ColliderBuilder" class="impl"><a href="#impl-Sync-for-ColliderBuilder" 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.ColliderBuilder.html" title="struct rapier3d::geometry::ColliderBuilder">ColliderBuilder</a></h3></section><section id="impl-Unpin-for-ColliderBuilder" class="impl"><a href="#impl-Unpin-for-ColliderBuilder" 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.ColliderBuilder.html" title="struct rapier3d::geometry::ColliderBuilder">ColliderBuilder</a></h3></section><section id="impl-UnwindSafe-for-ColliderBuilder" class="impl"><a href="#impl-UnwindSafe-for-ColliderBuilder" 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.ColliderBuilder.html" title="struct rapier3d::geometry::ColliderBuilder">ColliderBuilder</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-1" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#768">Source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&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" class="associatedtype trait-impl"><a class="src rightside" href="../../src/typenum/type_operators.rs.html#35">Source</a><a href="#associatedtype.Output" 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-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></div></section></div></main></body></html>