pub trait PaintableImpl: ObjectImpl {
// Required method
fn snapshot(
&self,
paintable: &Self::Type,
snapshot: &Snapshot,
width: f64,
height: f64
);
// Provided methods
fn current_image(&self, paintable: &Self::Type) -> Paintable { ... }
fn flags(&self, paintable: &Self::Type) -> PaintableFlags { ... }
fn intrinsic_width(&self, paintable: &Self::Type) -> i32 { ... }
fn intrinsic_height(&self, paintable: &Self::Type) -> i32 { ... }
fn intrinsic_aspect_ratio(&self, paintable: &Self::Type) -> f64 { ... }
}