pub struct Nearest {
pub region: RegionRef,
pub bbox_distance_px: f64,
}Fields§
§region: RegionRef§bbox_distance_px: f64Distance in pixels from the point to the region’s rotated bounding box. 0 means inside the bbox but outside the shape itself.
Trait Implementations§
impl StructuralPartialEq for Nearest
Auto Trait Implementations§
impl Freeze for Nearest
impl RefUnwindSafe for Nearest
impl Send for Nearest
impl Sync for Nearest
impl Unpin for Nearest
impl UnsafeUnpin for Nearest
impl UnwindSafe for Nearest
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