pub struct Nearest2D { /* private fields */ }Expand description
Returns the value of the closest grid node (ties go to the lower index).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Nearest2D
impl RefUnwindSafe for Nearest2D
impl Send for Nearest2D
impl Sync for Nearest2D
impl Unpin for Nearest2D
impl UnsafeUnpin for Nearest2D
impl UnwindSafe for Nearest2D
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