pub struct Hit {
pub score: u64,
pub lon: f64,
pub lat: f64,
pub metres: f64,
/* private fields */
}Expand description
One member a search found.
Fields§
§score: u64The raw score, which is what WITHHASH answers.
lon: f64The stored longitude.
lat: f64The stored latitude.
metres: f64How far from the centre of the search, in metres.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Hit
impl RefUnwindSafe for Hit
impl Send for Hit
impl Sync for Hit
impl Unpin for Hit
impl UnsafeUnpin for Hit
impl UnwindSafe for Hit
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