pub struct PlaceBuilder { /* private fields */ }Expand description
Implementations§
Source§impl PlaceBuilder
impl PlaceBuilder
Sourcepub fn build_place<'a>(
&self,
values: impl IntoIterator<Item = (&'a str, String)>,
) -> Place
pub fn build_place<'a>( &self, values: impl IntoIterator<Item = (&'a str, String)>, ) -> Place
Build a Place(crate::Place) from an unstructed source (like Nominatim output)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PlaceBuilder
impl RefUnwindSafe for PlaceBuilder
impl Send for PlaceBuilder
impl Sync for PlaceBuilder
impl Unpin for PlaceBuilder
impl UnwindSafe for PlaceBuilder
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more