Skip to main content

Locate

Trait Locate 

Source
pub trait Locate<T: ?Sized> {
    // Required method
    fn locate(&self, target: &T) -> DVec3;
}
Expand description

Locate a point.

Required Methods§

Source

fn locate(&self, target: &T) -> DVec3

Locate self on the target

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: ?Sized> Locate<T> for DVec3

Source§

fn locate(&self, _target: &T) -> DVec3

Implementors§

Source§

impl Locate<DVec3> for Centroid

Source§

impl<T, G> Locate<Transformed<T, G>> for Centroid
where Centroid: Locate<T>, G: Clone + Into<DAffine3>,

Source§

impl<T: Aabb + ?Sized> Locate<T> for AabbPoint

Source§

impl<T> Locate<[T]> for Centroid
where Centroid: Locate<T>,