pub struct EuvChartFlowArc { /* private fields */ }Expand description
Single directed curved flow arc between two Cartesian or Geo coordinates.
Implementations§
Source§impl EuvChartFlowArc
Constructors and accessors for EuvChartFlowArc and EuvChartLinesSeries.
impl EuvChartFlowArc
Constructors and accessors for EuvChartFlowArc and EuvChartLinesSeries.
Sourcepub fn new<FirstText, LabelValue>(
from_name: FirstText,
to_name: LabelValue,
from: (f32, f32),
to: (f32, f32),
value: f32,
) -> Self
pub fn new<FirstText, LabelValue>( from_name: FirstText, to_name: LabelValue, from: (f32, f32), to: (f32, f32), value: f32, ) -> Self
Creates a directed curved flow arc between (from_x, from_y) and (to_x, to_y).
§Arguments
FirstText- Origin label.LabelValue- Destination label.(f32, f32)- Origin(x, y)or(lon, lat).(f32, f32)- Destination(x, y)or(lon, lat).f32- Flow magnitude value.
§Returns
Self- Flow arc descriptor.
Source§impl EuvChartFlowArc
impl EuvChartFlowArc
pub fn get_from_name(&self) -> &String
pub fn get_mut_from_name(&mut self) -> &mut String
pub fn set_from_name(&mut self, val: String) -> &mut Self
pub fn get_to_name(&self) -> &String
pub fn get_mut_to_name(&mut self) -> &mut String
pub fn set_to_name(&mut self, val: String) -> &mut Self
pub fn get_from_x(&self) -> f32
pub fn get_mut_from_x(&mut self) -> &mut f32
pub fn set_from_x(&mut self, val: f32) -> &mut Self
pub fn get_from_y(&self) -> f32
pub fn get_mut_from_y(&mut self) -> &mut f32
pub fn set_from_y(&mut self, val: f32) -> &mut Self
pub fn get_to_x(&self) -> f32
pub fn get_mut_to_x(&mut self) -> &mut f32
pub fn set_to_x(&mut self, val: f32) -> &mut Self
pub fn get_to_y(&self) -> f32
pub fn get_mut_to_y(&mut self) -> &mut f32
pub fn set_to_y(&mut self, val: f32) -> &mut Self
pub fn get_value(&self) -> f32
pub fn get_mut_value(&mut self) -> &mut f32
pub fn set_value(&mut self, val: f32) -> &mut Self
pub fn get_mut_color(&mut self) -> &mut Option<Color>
pub fn set_color(&mut self, val: Option<Color>) -> &mut Self
Trait Implementations§
Source§impl Clone for EuvChartFlowArc
impl Clone for EuvChartFlowArc
Source§impl Debug for EuvChartFlowArc
impl Debug for EuvChartFlowArc
Source§impl PartialEq for EuvChartFlowArc
impl PartialEq for EuvChartFlowArc
impl StructuralPartialEq for EuvChartFlowArc
Auto Trait Implementations§
impl Forget for EuvChartFlowArc
impl Freeze for EuvChartFlowArc
impl Move for EuvChartFlowArc
impl RefUnwindSafe for EuvChartFlowArc
impl Send for EuvChartFlowArcwhere
RawVecInner: Send,
impl Sync for EuvChartFlowArcwhere
RawVecInner: Sync,
impl Unpin for EuvChartFlowArc
impl UnsafeUnpin for EuvChartFlowArc
impl UnwindSafe for EuvChartFlowArcwhere
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