You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<tr><td>eq</td><td>an equality function, used for checking if two values are equal</td><td>✅</td><td>❌</td></tr>
294
294
<tr><td>lt</td><td>a less than function, used for checking if a value is less than another</td><td>✅</td><td>❌</td></tr>
295
295
<tr><td>iter</td><td>an iterator function, used for iterating over a value</td><td>❌</td><td>✅</td></tr>
296
-
<tr><td>display</td><td>a display function, used for displaying a reference to a value</td><td>❌</td><td>✅</td></tr>
297
-
<tr><td>debug</td><td>a display function, used for displaying a mutable reference to a value</td><td>❌</td><td>✅</td></tr>
296
+
<tr><td>display</td><td>a display function, used for pretty printing values</td><td>❌*</td><td>✅</td></tr>
297
+
<tr><td>debug</td><td>a display function, used for displaying the internals of a value</td><td>❌*</td><td>✅</td></tr>
298
298
</tbody></table>
299
299
</div>
300
+
<p>* - You can register an instance of <code>ReflectDisplayWithTypeInfo</code> type data on <code>Reflect</code> implementing types to override their printing behavior</p>
300
301
<p>In this context <code>overridable</code> indicates whether language implementations will look for a specific function on your type before looking at the generic <code>ReflectReference</code> namespace. You can still remove the existing registration for these functions on the <code>ReflectReference</code> namespace if you want to replace them with your own implementation.</p>
301
302
<p>Note the <code>ReflectReference</code> namespace is special, in that functions defined on it, act like a fallback and hence apply to ALL references.</p>
<tr><td><ahref="./aabb2d/bounding_circle.html">bounding_circle</a></td><td>Computes the smallest [`BoundingCircle`] containing this [`Aabb2d`].</td></tr>
<tr><td><ahref="./aabb2d/closest_point.html">closest_point</a></td><td>Finds the point on the AABB that is closest to the given `point`. If the point is outside the AABB...</td></tr>
201
199
<tr><td><ahref="./aabb2d/new.html">new</a></td><td>Constructs an AABB from its center and half-size.</td></tr>
<tr><td><ahref="./aabb2d/bounding_circle.html">bounding_circle</a></td><td>Computes the smallest [`BoundingCircle`] containing this [`Aabb2d`].</td></tr>
<tr><td><ahref="./aabb3d/bounding_sphere.html">bounding_sphere</a></td><td>Computes the smallest [`BoundingSphere`] containing this [`Aabb3d`].</td></tr>
0 commit comments