Skip to content

Commit d7247ed

Browse files
author
Christoph
committed
removed typename and short_type_name methods
1 parent 48e4789 commit d7247ed

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

druid/src/widget/slider.rs

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -227,14 +227,6 @@ impl Widget<f64> for Slider {
227227
..Default::default()
228228
}
229229
}
230-
231-
fn type_name(&self) -> &'static str {
232-
"Slider"
233-
}
234-
235-
fn short_type_name(&self) -> &'static str {
236-
"Slider"
237-
}
238230
}
239231

240232
impl RangeSlider {
@@ -436,14 +428,6 @@ impl Widget<(f64, f64)> for RangeSlider {
436428
..Default::default()
437429
}
438430
}
439-
440-
fn type_name(&self) -> &'static str {
441-
"Range Slider"
442-
}
443-
444-
fn short_type_name(&self) -> &'static str {
445-
"Range Slider"
446-
}
447431
}
448432

449433
impl<T, W: Widget<T>> Annotated<T, W> {
@@ -625,14 +609,6 @@ impl<T: Data, W: Widget<T>> Widget<T> for Annotated<T, W> {
625609
..Default::default()
626610
}
627611
}
628-
629-
fn type_name(&self) -> &'static str {
630-
"Slider Annotation"
631-
}
632-
633-
fn short_type_name(&self) -> &'static str {
634-
"Annotated"
635-
}
636612
}
637613

638614
impl SliderValueMapping {

0 commit comments

Comments
 (0)