pub struct EuvChartGeoRegion { /* private fields */ }Expand description
Custom or built-in geographic polygon region rendered on GeoMap.
Implementations§
Source§impl EuvChartGeoRegion
Constructors and accessors for EuvChartGeoRegion and EuvChartGeo.
impl EuvChartGeoRegion
Constructors and accessors for EuvChartGeoRegion and EuvChartGeo.
Source§impl EuvChartGeoRegion
impl EuvChartGeoRegion
pub fn get_name(&self) -> &String
pub fn get_mut_name(&mut self) -> &mut String
pub fn set_name(&mut self, val: String) -> &mut Self
pub fn get_code(&self) -> &String
pub fn get_mut_code(&mut self) -> &mut String
pub fn set_code(&mut self, val: String) -> &mut Self
pub fn get_polygons(&self) -> &Vec<Vec<(f32, f32)>>
pub fn get_mut_polygons(&mut self) -> &mut Vec<Vec<(f32, f32)>>
pub fn set_polygons(&mut self, val: Vec<Vec<(f32, f32)>>) -> &mut Self
pub fn get_mut_label_center(&mut self) -> &mut Option<(f32, f32)>
pub fn set_label_center(&mut self, val: Option<(f32, f32)>) -> &mut Self
Trait Implementations§
Source§impl Clone for EuvChartGeoRegion
impl Clone for EuvChartGeoRegion
Source§impl Debug for EuvChartGeoRegion
impl Debug for EuvChartGeoRegion
Source§impl PartialEq for EuvChartGeoRegion
impl PartialEq for EuvChartGeoRegion
impl StructuralPartialEq for EuvChartGeoRegion
Auto Trait Implementations§
impl Forget for EuvChartGeoRegion
impl Freeze for EuvChartGeoRegion
impl Move for EuvChartGeoRegion
impl RefUnwindSafe for EuvChartGeoRegion
impl Send for EuvChartGeoRegionwhere
RawVecInner: Send,
impl Sync for EuvChartGeoRegionwhere
RawVecInner: Sync,
impl Unpin for EuvChartGeoRegion
impl UnsafeUnpin for EuvChartGeoRegionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Vec<(f32, f32)>>: UnsafeUnpin,
impl UnwindSafe for EuvChartGeoRegionwhere
RawVecInner: 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