#[non_exhaustive]pub struct GeospatialMapStyleOptionsBuilder { /* private fields */ }Expand description
A builder for GeospatialMapStyleOptions.
Implementations§
source§impl GeospatialMapStyleOptionsBuilder
impl GeospatialMapStyleOptionsBuilder
sourcepub fn base_map_style(self, input: BaseMapStyleType) -> Self
pub fn base_map_style(self, input: BaseMapStyleType) -> Self
The base map style of the geospatial map.
sourcepub fn set_base_map_style(self, input: Option<BaseMapStyleType>) -> Self
pub fn set_base_map_style(self, input: Option<BaseMapStyleType>) -> Self
The base map style of the geospatial map.
sourcepub fn get_base_map_style(&self) -> &Option<BaseMapStyleType>
pub fn get_base_map_style(&self) -> &Option<BaseMapStyleType>
The base map style of the geospatial map.
sourcepub fn build(self) -> GeospatialMapStyleOptions
pub fn build(self) -> GeospatialMapStyleOptions
Consumes the builder and constructs a GeospatialMapStyleOptions.
Trait Implementations§
source§impl Clone for GeospatialMapStyleOptionsBuilder
impl Clone for GeospatialMapStyleOptionsBuilder
source§fn clone(&self) -> GeospatialMapStyleOptionsBuilder
fn clone(&self) -> GeospatialMapStyleOptionsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for GeospatialMapStyleOptionsBuilder
impl Default for GeospatialMapStyleOptionsBuilder
source§fn default() -> GeospatialMapStyleOptionsBuilder
fn default() -> GeospatialMapStyleOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GeospatialMapStyleOptionsBuilder
impl PartialEq for GeospatialMapStyleOptionsBuilder
source§fn eq(&self, other: &GeospatialMapStyleOptionsBuilder) -> bool
fn eq(&self, other: &GeospatialMapStyleOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GeospatialMapStyleOptionsBuilder
Auto Trait Implementations§
impl Freeze for GeospatialMapStyleOptionsBuilder
impl RefUnwindSafe for GeospatialMapStyleOptionsBuilder
impl Send for GeospatialMapStyleOptionsBuilder
impl Sync for GeospatialMapStyleOptionsBuilder
impl Unpin for GeospatialMapStyleOptionsBuilder
impl UnwindSafe for GeospatialMapStyleOptionsBuilder
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.