diff --git a/crates/egui_plot/src/items/mod.rs b/crates/egui_plot/src/items/mod.rs index cc7a9453c9e..e62ec50dce6 100644 --- a/crates/egui_plot/src/items/mod.rs +++ b/crates/egui_plot/src/items/mod.rs @@ -149,7 +149,8 @@ impl HLine { self } - /// Allowed hovering this item in the plot. Default: `true`. + /// Allowed hovering this item in the plot. Default: `true`. + #[inline] pub fn allow_hover(mut self, hovering: bool) -> Self { self.allow_hover = hovering; self @@ -296,7 +297,8 @@ impl VLine { self } - /// Allowed hovering this item in the plot. Default: `true`. + /// Allowed hovering this item in the plot. Default: `true`. + #[inline] pub fn allow_hover(mut self, hovering: bool) -> Self { self.allow_hover = hovering; self @@ -444,7 +446,8 @@ impl Line { self } - /// Allowed hovering this item in the plot. Default: `true`. + /// Allowed hovering this item in the plot. Default: `true`. + #[inline] pub fn allow_hover(mut self, hovering: bool) -> Self { self.allow_hover = hovering; self @@ -646,7 +649,8 @@ impl Polygon { self } - /// Allowed hovering this item in the plot. Default: `true`. + /// Allowed hovering this item in the plot. Default: `true`. + #[inline] pub fn allow_hover(mut self, hovering: bool) -> Self { self.allow_hover = hovering; self @@ -797,7 +801,8 @@ impl Text { self } - /// Allowed hovering this item in the plot. Default: `true`. + /// Allowed hovering this item in the plot. Default: `true`. + #[inline] pub fn allow_hover(mut self, hovering: bool) -> Self { self.allow_hover = hovering; self @@ -957,7 +962,8 @@ impl Points { self } - /// Allowed hovering this item in the plot. Default: `true`. + /// Allowed hovering this item in the plot. Default: `true`. + #[inline] pub fn allow_hover(mut self, hovering: bool) -> Self { self.allow_hover = hovering; self @@ -1211,7 +1217,8 @@ impl Arrows { self } - /// Allowed hovering this item in the plot. Default: `true`. + /// Allowed hovering this item in the plot. Default: `true`. + #[inline] pub fn allow_hover(mut self, hovering: bool) -> Self { self.allow_hover = hovering; self @@ -1380,7 +1387,8 @@ impl PlotImage { self } - /// Allowed hovering this item in the plot. Default: `true`. + /// Allowed hovering this item in the plot. Default: `true`. + #[inline] pub fn allow_hover(mut self, hovering: bool) -> Self { self.allow_hover = hovering; self @@ -1627,7 +1635,8 @@ impl BarChart { self } - /// Allowed hovering this item in the plot. Default: `true`. + /// Allowed hovering this item in the plot. Default: `true`. + #[inline] pub fn allow_hover(mut self, hovering: bool) -> Self { self.allow_hover = hovering; self @@ -1825,7 +1834,8 @@ impl BoxPlot { self } - /// Allowed hovering this item in the plot. Default: `true`. + /// Allowed hovering this item in the plot. Default: `true`. + #[inline] pub fn allow_hover(mut self, hovering: bool) -> Self { self.allow_hover = hovering; self