[−][src]Struct reverse_geocoder::Locations
A set of location records.
Implementations
impl Locations[src]
pub fn from_memory() -> Locations[src]
Use the built-in cities.csv.
pub fn from_path<P: AsRef<Path>>(
file_path: P
) -> Result<Locations, Box<dyn Error>>[src]
file_path: P
) -> Result<Locations, Box<dyn Error>>
Supply your own path to a CSV file.
Auto Trait Implementations
impl RefUnwindSafe for Locations[src]
impl Send for Locations[src]
impl Sync for Locations[src]
impl Unpin for Locations[src]
impl UnwindSafe for Locations[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,