Files
phy/rstar/trait.Point.html
Orion Kindel 0ce894e6b0 doc
2025-03-18 10:30:23 -05:00

83 lines
46 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Defines a point type that is compatible with rstar."><title>Point in rstar - 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="rstar" 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 trait"><!--[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="../rstar/index.html">rstar</a><span class="version">0.12.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Point</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#implementation-example" title="Implementation example">Implementation example</a></li></ul><h3><a href="#required-associated-consts">Required Associated Constants</a></h3><ul class="block"><li><a href="#associatedconstant.DIMENSIONS" title="DIMENSIONS">DIMENSIONS</a></li></ul><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Scalar" title="Scalar">Scalar</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.generate" title="generate">generate</a></li><li><a href="#tymethod.nth" title="nth">nth</a></li><li><a href="#tymethod.nth_mut" title="nth_mut">nth_mut</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-Point-for-(S,+S)" title="(S, S)">(S, S)</a></li><li><a href="#impl-Point-for-(S,+S,+S)" title="(S, S, S)">(S, S, S)</a></li><li><a href="#impl-Point-for-(S,+S,+S,+S)" title="(S, S, S, S)">(S, S, S, S)</a></li><li><a href="#impl-Point-for-(S,+S,+S,+S,+S)" title="(S, S, S, S, S)">(S, S, S, S, S)</a></li><li><a href="#impl-Point-for-(S,+S,+S,+S,+S,+S)" title="(S, S, S, S, S, S)">(S, S, S, S, S, S)</a></li><li><a href="#impl-Point-for-(S,+S,+S,+S,+S,+S,+S)" title="(S, S, S, S, S, S, S)">(S, S, S, S, S, S, S)</a></li><li><a href="#impl-Point-for-(S,+S,+S,+S,+S,+S,+S,+S)" title="(S, S, S, S, S, S, S, S)">(S, S, S, S, S, S, S, S)</a></li><li><a href="#impl-Point-for-(S,+S,+S,+S,+S,+S,+S,+S,+S)" title="(S, S, S, S, S, S, S, S, S)">(S, S, S, S, S, S, S, S, S)</a></li><li><a href="#impl-Point-for-(S,+S,+S,+S,+S,+S,+S,+S,+S,+S)" title="(S, S, S, S, S, S, S, S, S, S)">(S, S, S, S, S, S, S, S, S, S)</a></li><li><a href="#impl-Point-for-(S,)" title="(S,)">(S,)</a></li><li><a href="#impl-Point-for-%5BS;+N%5D" title="[S; N]">[S; N]</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate rstar</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">rstar</a></span><h1>Trait <span class="trait">Point</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/rstar/point.rs.html#158-179">Source</a> </span></div><pre class="rust item-decl"><code>pub trait Point:
<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>
+ <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>
+ <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> {
type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a>: <a class="trait" href="trait.RTreeNum.html" title="trait rstar::RTreeNum">RTreeNum</a>;
const <a href="#associatedconstant.DIMENSIONS" class="constant">DIMENSIONS</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>;
// Required methods
fn <a href="#tymethod.generate" class="fn">generate</a>(generator: impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a>) -&gt; Self;
<span class="item-spacer"></span> fn <a href="#tymethod.nth" class="fn">nth</a>(&amp;self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.nth_mut" class="fn">nth_mut</a>(&amp;mut self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; &amp;mut Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a>;
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Defines a point type that is compatible with rstar.</p>
<p>This trait should be used for interoperability with other point types, not to define custom objects
that can be inserted into r-trees. Use <a href="trait.RTreeObject.html" title="trait rstar::RTreeObject"><code>crate::RTreeObject</code></a> or
<a href="primitives/struct.GeomWithData.html" title="struct rstar::primitives::GeomWithData"><code>crate::primitives::GeomWithData</code></a> instead.
This trait defines points, not points with metadata.</p>
<p><code>Point</code> is implemented out of the box for arrays like <code>[f32; 2]</code> or <code>[f64; 7]</code> (up to dimension 9)
and for tuples like <code>(int, int)</code> and <code>(f64, f64, f64)</code> so tuples with only elements of the same type (up to dimension 9).</p>
<h2 id="implementation-example"><a class="doc-anchor" href="#implementation-example">§</a>Implementation example</h2>
<p>Supporting a custom point type might look like this:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>rstar::Point;
<span class="attr">#[derive(Copy, Clone, PartialEq, Debug)]
</span><span class="kw">struct </span>IntegerPoint
{
x: i32,
y: i32
}
<span class="kw">impl </span>Point <span class="kw">for </span>IntegerPoint
{
<span class="kw">type </span>Scalar = i32;
<span class="kw">const </span>DIMENSIONS: usize = <span class="number">2</span>;
<span class="kw">fn </span>generate(<span class="kw-2">mut </span>generator: <span class="kw">impl </span>FnMut(usize) -&gt; <span class="self">Self</span>::Scalar) -&gt; <span class="self">Self
</span>{
IntegerPoint {
x: generator(<span class="number">0</span>),
y: generator(<span class="number">1</span>)
}
}
<span class="kw">fn </span>nth(<span class="kw-2">&amp;</span><span class="self">self</span>, index: usize) -&gt; <span class="self">Self</span>::Scalar
{
<span class="kw">match </span>index {
<span class="number">0 </span>=&gt; <span class="self">self</span>.x,
<span class="number">1 </span>=&gt; <span class="self">self</span>.y,
<span class="kw">_ </span>=&gt; <span class="macro">unreachable!</span>()
}
}
<span class="kw">fn </span>nth_mut(<span class="kw-2">&amp;mut </span><span class="self">self</span>, index: usize) -&gt; <span class="kw-2">&amp;mut </span><span class="self">Self</span>::Scalar
{
<span class="kw">match </span>index {
<span class="number">0 </span>=&gt; <span class="kw-2">&amp;mut </span><span class="self">self</span>.x,
<span class="number">1 </span>=&gt; <span class="kw-2">&amp;mut </span><span class="self">self</span>.y,
<span class="kw">_ </span>=&gt; <span class="macro">unreachable!</span>()
}
}
}</code></pre></div>
</div></details><h2 id="required-associated-consts" class="section-header">Required Associated Constants<a href="#required-associated-consts" class="anchor">§</a></h2><div class="methods"><details class="toggle" open><summary><section id="associatedconstant.DIMENSIONS" class="method"><a class="src rightside" href="../src/rstar/point.rs.html#163">Source</a><h4 class="code-header">const <a href="#associatedconstant.DIMENSIONS" class="constant">DIMENSIONS</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"><p>The number of dimensions of this point type.</p>
</div></details></div><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><details class="toggle" open><summary><section id="associatedtype.Scalar" class="method"><a class="src rightside" href="../src/rstar/point.rs.html#160">Source</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a>: <a class="trait" href="trait.RTreeNum.html" title="trait rstar::RTreeNum">RTreeNum</a></h4></section></summary><div class="docblock"><p>The number type used by this point type.</p>
</div></details></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.generate" class="method"><a class="src rightside" href="../src/rstar/point.rs.html#170">Source</a><h4 class="code-header">fn <a href="#tymethod.generate" class="fn">generate</a>(generator: impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Creates a new point value with given values for each dimension.</p>
<p>The value that each dimension should be initialized with is given by the parameter <code>generator</code>.
Calling <code>generator(n)</code> returns the value of dimension <code>n</code>, <code>n</code> will be in the range <code>0 .. Self::DIMENSIONS</code>,
and will be called with values of <code>n</code> in ascending order.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.nth" class="method"><a class="src rightside" href="../src/rstar/point.rs.html#175">Source</a><h4 class="code-header">fn <a href="#tymethod.nth" class="fn">nth</a>(&amp;self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section></summary><div class="docblock"><p>Returns a single coordinate of this point.</p>
<p>Returns the coordinate indicated by <code>index</code>. <code>index</code> is always smaller than <code>Self::DIMENSIONS</code>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.nth_mut" class="method"><a class="src rightside" href="../src/rstar/point.rs.html#178">Source</a><h4 class="code-header">fn <a href="#tymethod.nth_mut" class="fn">nth_mut</a>(&amp;mut self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; &amp;mut Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section></summary><div class="docblock"><p>Mutable variant of <a href="#methods.nth">nth</a>.</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/1.84.0/reference/items/traits.html#object-safety">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-Point-for-(S,+S)" class="impl"><a class="src rightside" href="../src/rstar/point.rs.html#386">Source</a><a href="#impl-Point-for-(S,+S)" class="anchor">§</a><h3 class="code-header">impl&lt;S&gt; <a class="trait" href="trait.Point.html" title="trait rstar::Point">Point</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.tuple.html">(S, S)</a><div class="where">where
S: <a class="trait" href="trait.RTreeNum.html" title="trait rstar::RTreeNum">RTreeNum</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedconstant.DIMENSIONS-1" class="associatedconstant trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#386">Source</a><a href="#associatedconstant.DIMENSIONS-1" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.DIMENSIONS" class="constant">DIMENSIONS</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a> = 2usize</h4></section><section id="associatedtype.Scalar-1" class="associatedtype trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#386">Source</a><a href="#associatedtype.Scalar-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = S</h4></section><section id="method.generate" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#386">Source</a><a href="#method.generate" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.generate" class="fn">generate</a>(generator: impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; S) -&gt; Self</h4></section><section id="method.nth" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#386">Source</a><a href="#method.nth" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nth" class="fn">nth</a>(&amp;self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section><section id="method.nth_mut" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#386">Source</a><a href="#method.nth_mut" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nth_mut" class="fn">nth_mut</a>(&amp;mut self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; &amp;mut Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Point-for-(S,+S,+S)" class="impl"><a class="src rightside" href="../src/rstar/point.rs.html#387">Source</a><a href="#impl-Point-for-(S,+S,+S)" class="anchor">§</a><h3 class="code-header">impl&lt;S&gt; <a class="trait" href="trait.Point.html" title="trait rstar::Point">Point</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.tuple.html">(S, S, S)</a><div class="where">where
S: <a class="trait" href="trait.RTreeNum.html" title="trait rstar::RTreeNum">RTreeNum</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedconstant.DIMENSIONS-2" class="associatedconstant trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#387">Source</a><a href="#associatedconstant.DIMENSIONS-2" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.DIMENSIONS" class="constant">DIMENSIONS</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a> = 3usize</h4></section><section id="associatedtype.Scalar-2" class="associatedtype trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#387">Source</a><a href="#associatedtype.Scalar-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = S</h4></section><section id="method.generate-1" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#387">Source</a><a href="#method.generate-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.generate" class="fn">generate</a>(generator: impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; S) -&gt; Self</h4></section><section id="method.nth-1" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#387">Source</a><a href="#method.nth-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nth" class="fn">nth</a>(&amp;self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section><section id="method.nth_mut-1" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#387">Source</a><a href="#method.nth_mut-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nth_mut" class="fn">nth_mut</a>(&amp;mut self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; &amp;mut Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Point-for-(S,+S,+S,+S)" class="impl"><a class="src rightside" href="../src/rstar/point.rs.html#388">Source</a><a href="#impl-Point-for-(S,+S,+S,+S)" class="anchor">§</a><h3 class="code-header">impl&lt;S&gt; <a class="trait" href="trait.Point.html" title="trait rstar::Point">Point</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.tuple.html">(S, S, S, S)</a><div class="where">where
S: <a class="trait" href="trait.RTreeNum.html" title="trait rstar::RTreeNum">RTreeNum</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedconstant.DIMENSIONS-3" class="associatedconstant trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#388">Source</a><a href="#associatedconstant.DIMENSIONS-3" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.DIMENSIONS" class="constant">DIMENSIONS</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a> = 4usize</h4></section><section id="associatedtype.Scalar-3" class="associatedtype trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#388">Source</a><a href="#associatedtype.Scalar-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = S</h4></section><section id="method.generate-2" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#388">Source</a><a href="#method.generate-2" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.generate" class="fn">generate</a>(generator: impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; S) -&gt; Self</h4></section><section id="method.nth-2" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#388">Source</a><a href="#method.nth-2" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nth" class="fn">nth</a>(&amp;self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section><section id="method.nth_mut-2" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#388">Source</a><a href="#method.nth_mut-2" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nth_mut" class="fn">nth_mut</a>(&amp;mut self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; &amp;mut Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Point-for-(S,+S,+S,+S,+S)" class="impl"><a class="src rightside" href="../src/rstar/point.rs.html#389">Source</a><a href="#impl-Point-for-(S,+S,+S,+S,+S)" class="anchor">§</a><h3 class="code-header">impl&lt;S&gt; <a class="trait" href="trait.Point.html" title="trait rstar::Point">Point</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.tuple.html">(S, S, S, S, S)</a><div class="where">where
S: <a class="trait" href="trait.RTreeNum.html" title="trait rstar::RTreeNum">RTreeNum</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedconstant.DIMENSIONS-4" class="associatedconstant trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#389">Source</a><a href="#associatedconstant.DIMENSIONS-4" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.DIMENSIONS" class="constant">DIMENSIONS</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a> = 5usize</h4></section><section id="associatedtype.Scalar-4" class="associatedtype trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#389">Source</a><a href="#associatedtype.Scalar-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = S</h4></section><section id="method.generate-3" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#389">Source</a><a href="#method.generate-3" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.generate" class="fn">generate</a>(generator: impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; S) -&gt; Self</h4></section><section id="method.nth-3" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#389">Source</a><a href="#method.nth-3" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nth" class="fn">nth</a>(&amp;self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section><section id="method.nth_mut-3" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#389">Source</a><a href="#method.nth_mut-3" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nth_mut" class="fn">nth_mut</a>(&amp;mut self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; &amp;mut Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Point-for-(S,+S,+S,+S,+S,+S)" class="impl"><a class="src rightside" href="../src/rstar/point.rs.html#390">Source</a><a href="#impl-Point-for-(S,+S,+S,+S,+S,+S)" class="anchor">§</a><h3 class="code-header">impl&lt;S&gt; <a class="trait" href="trait.Point.html" title="trait rstar::Point">Point</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.tuple.html">(S, S, S, S, S, S)</a><div class="where">where
S: <a class="trait" href="trait.RTreeNum.html" title="trait rstar::RTreeNum">RTreeNum</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedconstant.DIMENSIONS-5" class="associatedconstant trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#390">Source</a><a href="#associatedconstant.DIMENSIONS-5" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.DIMENSIONS" class="constant">DIMENSIONS</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a> = 6usize</h4></section><section id="associatedtype.Scalar-5" class="associatedtype trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#390">Source</a><a href="#associatedtype.Scalar-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = S</h4></section><section id="method.generate-4" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#390">Source</a><a href="#method.generate-4" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.generate" class="fn">generate</a>(generator: impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; S) -&gt; Self</h4></section><section id="method.nth-4" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#390">Source</a><a href="#method.nth-4" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nth" class="fn">nth</a>(&amp;self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section><section id="method.nth_mut-4" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#390">Source</a><a href="#method.nth_mut-4" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nth_mut" class="fn">nth_mut</a>(&amp;mut self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; &amp;mut Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Point-for-(S,+S,+S,+S,+S,+S,+S)" class="impl"><a class="src rightside" href="../src/rstar/point.rs.html#391">Source</a><a href="#impl-Point-for-(S,+S,+S,+S,+S,+S,+S)" class="anchor">§</a><h3 class="code-header">impl&lt;S&gt; <a class="trait" href="trait.Point.html" title="trait rstar::Point">Point</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.tuple.html">(S, S, S, S, S, S, S)</a><div class="where">where
S: <a class="trait" href="trait.RTreeNum.html" title="trait rstar::RTreeNum">RTreeNum</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedconstant.DIMENSIONS-6" class="associatedconstant trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#391">Source</a><a href="#associatedconstant.DIMENSIONS-6" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.DIMENSIONS" class="constant">DIMENSIONS</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a> = 7usize</h4></section><section id="associatedtype.Scalar-6" class="associatedtype trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#391">Source</a><a href="#associatedtype.Scalar-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = S</h4></section><section id="method.generate-5" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#391">Source</a><a href="#method.generate-5" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.generate" class="fn">generate</a>(generator: impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; S) -&gt; Self</h4></section><section id="method.nth-5" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#391">Source</a><a href="#method.nth-5" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nth" class="fn">nth</a>(&amp;self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section><section id="method.nth_mut-5" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#391">Source</a><a href="#method.nth_mut-5" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nth_mut" class="fn">nth_mut</a>(&amp;mut self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; &amp;mut Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Point-for-(S,+S,+S,+S,+S,+S,+S,+S)" class="impl"><a class="src rightside" href="../src/rstar/point.rs.html#392">Source</a><a href="#impl-Point-for-(S,+S,+S,+S,+S,+S,+S,+S)" class="anchor">§</a><h3 class="code-header">impl&lt;S&gt; <a class="trait" href="trait.Point.html" title="trait rstar::Point">Point</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.tuple.html">(S, S, S, S, S, S, S, S)</a><div class="where">where
S: <a class="trait" href="trait.RTreeNum.html" title="trait rstar::RTreeNum">RTreeNum</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedconstant.DIMENSIONS-7" class="associatedconstant trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#392">Source</a><a href="#associatedconstant.DIMENSIONS-7" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.DIMENSIONS" class="constant">DIMENSIONS</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a> = 8usize</h4></section><section id="associatedtype.Scalar-7" class="associatedtype trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#392">Source</a><a href="#associatedtype.Scalar-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = S</h4></section><section id="method.generate-6" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#392">Source</a><a href="#method.generate-6" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.generate" class="fn">generate</a>(generator: impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; S) -&gt; Self</h4></section><section id="method.nth-6" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#392">Source</a><a href="#method.nth-6" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nth" class="fn">nth</a>(&amp;self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section><section id="method.nth_mut-6" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#392">Source</a><a href="#method.nth_mut-6" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nth_mut" class="fn">nth_mut</a>(&amp;mut self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; &amp;mut Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Point-for-(S,+S,+S,+S,+S,+S,+S,+S,+S)" class="impl"><a class="src rightside" href="../src/rstar/point.rs.html#393">Source</a><a href="#impl-Point-for-(S,+S,+S,+S,+S,+S,+S,+S,+S)" class="anchor">§</a><h3 class="code-header">impl&lt;S&gt; <a class="trait" href="trait.Point.html" title="trait rstar::Point">Point</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.tuple.html">(S, S, S, S, S, S, S, S, S)</a><div class="where">where
S: <a class="trait" href="trait.RTreeNum.html" title="trait rstar::RTreeNum">RTreeNum</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedconstant.DIMENSIONS-8" class="associatedconstant trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#393">Source</a><a href="#associatedconstant.DIMENSIONS-8" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.DIMENSIONS" class="constant">DIMENSIONS</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a> = 9usize</h4></section><section id="associatedtype.Scalar-8" class="associatedtype trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#393">Source</a><a href="#associatedtype.Scalar-8" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = S</h4></section><section id="method.generate-7" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#393">Source</a><a href="#method.generate-7" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.generate" class="fn">generate</a>(generator: impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; S) -&gt; Self</h4></section><section id="method.nth-7" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#393">Source</a><a href="#method.nth-7" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nth" class="fn">nth</a>(&amp;self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section><section id="method.nth_mut-7" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#393">Source</a><a href="#method.nth_mut-7" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nth_mut" class="fn">nth_mut</a>(&amp;mut self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; &amp;mut Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Point-for-(S,+S,+S,+S,+S,+S,+S,+S,+S,+S)" class="impl"><a class="src rightside" href="../src/rstar/point.rs.html#394">Source</a><a href="#impl-Point-for-(S,+S,+S,+S,+S,+S,+S,+S,+S,+S)" class="anchor">§</a><h3 class="code-header">impl&lt;S&gt; <a class="trait" href="trait.Point.html" title="trait rstar::Point">Point</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.tuple.html">(S, S, S, S, S, S, S, S, S, S)</a><div class="where">where
S: <a class="trait" href="trait.RTreeNum.html" title="trait rstar::RTreeNum">RTreeNum</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedconstant.DIMENSIONS-9" class="associatedconstant trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#394">Source</a><a href="#associatedconstant.DIMENSIONS-9" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.DIMENSIONS" class="constant">DIMENSIONS</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a> = 10usize</h4></section><section id="associatedtype.Scalar-9" class="associatedtype trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#394">Source</a><a href="#associatedtype.Scalar-9" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = S</h4></section><section id="method.generate-8" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#394">Source</a><a href="#method.generate-8" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.generate" class="fn">generate</a>(generator: impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; S) -&gt; Self</h4></section><section id="method.nth-8" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#394">Source</a><a href="#method.nth-8" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nth" class="fn">nth</a>(&amp;self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section><section id="method.nth_mut-8" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#394">Source</a><a href="#method.nth_mut-8" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nth_mut" class="fn">nth_mut</a>(&amp;mut self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; &amp;mut Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Point-for-(S,)" class="impl"><a class="src rightside" href="../src/rstar/point.rs.html#385">Source</a><a href="#impl-Point-for-(S,)" class="anchor">§</a><h3 class="code-header">impl&lt;S&gt; <a class="trait" href="trait.Point.html" title="trait rstar::Point">Point</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.tuple.html">(S,)</a><div class="where">where
S: <a class="trait" href="trait.RTreeNum.html" title="trait rstar::RTreeNum">RTreeNum</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedconstant.DIMENSIONS-10" class="associatedconstant trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#385">Source</a><a href="#associatedconstant.DIMENSIONS-10" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.DIMENSIONS" class="constant">DIMENSIONS</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a> = 1usize</h4></section><section id="associatedtype.Scalar-10" class="associatedtype trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#385">Source</a><a href="#associatedtype.Scalar-10" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = S</h4></section><section id="method.generate-9" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#385">Source</a><a href="#method.generate-9" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.generate" class="fn">generate</a>(generator: impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; S) -&gt; Self</h4></section><section id="method.nth-9" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#385">Source</a><a href="#method.nth-9" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nth" class="fn">nth</a>(&amp;self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section><section id="method.nth_mut-9" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#385">Source</a><a href="#method.nth_mut-9" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nth_mut" class="fn">nth_mut</a>(&amp;mut self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; &amp;mut Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Point-for-%5BS;+N%5D" class="impl"><a class="src rightside" href="../src/rstar/point.rs.html#306-334">Source</a><a href="#impl-Point-for-%5BS;+N%5D" class="anchor">§</a><h3 class="code-header">impl&lt;S, const N: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>&gt; <a class="trait" href="trait.Point.html" title="trait rstar::Point">Point</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.array.html">[S; N]</a><div class="where">where
S: <a class="trait" href="trait.RTreeNum.html" title="trait rstar::RTreeNum">RTreeNum</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedconstant.DIMENSIONS-11" class="associatedconstant trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#312">Source</a><a href="#associatedconstant.DIMENSIONS-11" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.DIMENSIONS" class="constant">DIMENSIONS</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a> = N</h4></section><section id="associatedtype.Scalar-11" class="associatedtype trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#310">Source</a><a href="#associatedtype.Scalar-11" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Scalar" class="associatedtype">Scalar</a> = S</h4></section><section id="method.generate-10" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#314-323">Source</a><a href="#method.generate-10" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.generate" class="fn">generate</a>(generator: impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; S) -&gt; Self</h4></section><section id="method.nth-10" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#326-328">Source</a><a href="#method.nth-10" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nth" class="fn">nth</a>(&amp;self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section><section id="method.nth_mut-10" class="method trait-impl"><a class="src rightside" href="../src/rstar/point.rs.html#331-333">Source</a><a href="#method.nth_mut-10" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.nth_mut" class="fn">nth_mut</a>(&amp;mut self, index: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>) -&gt; &amp;mut Self::<a class="associatedtype" href="trait.Point.html#associatedtype.Scalar" title="type rstar::Point::Scalar">Scalar</a></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../trait.impl/rstar/point/trait.Point.js" data-ignore-extern-crates="std" async></script></section></div></main></body></html>