pub trait DragHandleStyle {
fn grip_dot_size(&self) -> f64;
fn grip_spacing(&self) -> f64;
fn grip_count(&self) -> usize;
}
pub struct DefaultDragHandleStyle;
impl Default for DefaultDragHandleStyle {
fn default() -> Self {
Self
}
}
impl DragHandleStyle for DefaultDragHandleStyle {
fn grip_dot_size(&self) -> f64 { 3.0 }
fn grip_spacing(&self) -> f64 { 4.0 }
fn grip_count(&self) -> usize { 6 }
}