MCPcopy Create free account
hub / github.com/emilk/egui_plot / is_valid

Method is_valid

egui_plot/src/bounds.rs:105–107  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

103
104 #[inline]
105 pub fn is_valid(&self) -> bool {
106 self.is_finite() && self.width() > 0.0 && self.height() > 0.0
107 }
108
109 #[inline]
110 pub fn is_valid_x(&self) -> bool {

Callers 2

handle_interactionsMethod · 0.80
zoomMethod · 0.80

Calls 3

is_finiteMethod · 0.80
widthMethod · 0.45
heightMethod · 0.45

Tested by

no test coverage detected