pub(crate) trait PaintSizeMethods<D: DomTypes> { // Required methods fn Width(&self) -> Finite<f64>; fn Height(&self) -> Finite<f64>; }