pub struct SceneClosestOptions {
pub max_distance: f64,
}Expand description
Options for Scene::closest_point and Scene::closest_point_on, in
world units.
Fields§
§max_distance: f64Largest world distance that counts as found (inclusive). Default
f64::INFINITY.
Trait Implementations§
Source§impl Clone for SceneClosestOptions
impl Clone for SceneClosestOptions
Source§fn clone(&self) -> SceneClosestOptions
fn clone(&self) -> SceneClosestOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SceneClosestOptions
Source§impl Debug for SceneClosestOptions
impl Debug for SceneClosestOptions
Source§impl Default for SceneClosestOptions
impl Default for SceneClosestOptions
Source§impl PartialEq for SceneClosestOptions
impl PartialEq for SceneClosestOptions
impl StructuralPartialEq for SceneClosestOptions
Auto Trait Implementations§
impl Freeze for SceneClosestOptions
impl RefUnwindSafe for SceneClosestOptions
impl Send for SceneClosestOptions
impl Sync for SceneClosestOptions
impl Unpin for SceneClosestOptions
impl UnsafeUnpin for SceneClosestOptions
impl UnwindSafe for SceneClosestOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more