pub struct UrlBuilder<S: AsRef<str> + Clone> { /* private fields */ }
Implementations§
Source§impl<S: AsRef<str> + Clone> UrlBuilder<S>
impl<S: AsRef<str> + Clone> UrlBuilder<S>
pub fn new(credentials: Credentials<S>, size: Size) -> Self
pub fn center(&self, center: Location) -> Self
pub fn zoom(&self, zoom: &'static Zoom) -> Self
pub fn scale(&self, scale: &'static Scale) -> Self
pub fn format(&self, format: &'static Format) -> Self
pub fn maptype(&self, maptype: &'static MapType) -> Self
pub fn language(&self, language: S) -> Self
pub fn region(&self, region: S) -> Self
pub fn markers(&self, markers: Vec<Marker<S>>) -> Self
pub fn add_marker(&self, marker: Marker<S>) -> Self
pub fn make_url(&self) -> String
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for UrlBuilder<S>where
S: Freeze,
impl<S> RefUnwindSafe for UrlBuilder<S>where
S: RefUnwindSafe,
impl<S> Send for UrlBuilder<S>where
S: Send,
impl<S> Sync for UrlBuilder<S>where
S: Sync,
impl<S> Unpin for UrlBuilder<S>where
S: Unpin,
impl<S> UnwindSafe for UrlBuilder<S>where
S: UnwindSafe,
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