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

Method is_empty

src/pie.rs:43–45  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

41
42impl<D> PieEntity<D> {
43 pub fn is_empty(&self) -> bool {
44 self.start_angle == self.end_angle
45 }
46
47 fn contains_point(&self, p: Point<f64>) -> bool {
48 // p -= center;

Callers 3

drawMethod · 0.45
draw_channelsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected