pub struct MapOptions {
pub map_name: Option<String>,
pub geo_index: Option<usize>,
pub roam: Option<bool>,
pub label: Option<LabelOption>,
pub aspect_scale: Option<f64>,
}Expand description
The options specific to a map series.
Fields§
§map_name: Option<String>The name of the map region.
geo_index: Option<usize>The name of the geo component the map is bound to.
roam: Option<bool>Whether the map can be panned and zoomed.
label: Option<LabelOption>The label of a region.
aspect_scale: Option<f64>The factor that keeps the map from looking stretched.
Trait Implementations§
Source§impl Clone for MapOptions
impl Clone for MapOptions
Source§impl Debug for MapOptions
impl Debug for MapOptions
Source§impl Default for MapOptions
impl Default for MapOptions
Source§impl PartialEq for MapOptions
impl PartialEq for MapOptions
impl StructuralPartialEq for MapOptions
Auto Trait Implementations§
impl Freeze for MapOptions
impl RefUnwindSafe for MapOptions
impl Send for MapOptions
impl Sync for MapOptions
impl Unpin for MapOptions
impl UnsafeUnpin for MapOptions
impl UnwindSafe for MapOptions
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