MCPcopy Create free account
hub / github.com/angular-rust/ux-charts / BarEntity

Class BarEntity

src/bar.rs:17–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16#[derive(Default, Clone)]
17pub struct BarEntity<D> {
18 color: Color,
19 highlight_color: Color,
20 formatted_value: String,
21 index: usize,
22 old_value: Option<D>,
23 value: Option<D>,
24
25 old_left: f64,
26 old_width: f64,
27 old_height: f64,
28 bottom: f64,
29 left: f64,
30 width: f64,
31 height: f64,
32}
33
34impl<D> BarEntity<D> {
35 pub fn get_right(&self) -> f64 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected