pub trait PaintableExt: 'static {
// Required methods
fn compute_concrete_size(
&self,
specified_width: f64,
specified_height: f64,
default_width: f64,
default_height: f64
) -> (f64, f64);
fn current_image(&self) -> Paintable;
fn flags(&self) -> PaintableFlags;
fn intrinsic_aspect_ratio(&self) -> f64;
fn intrinsic_height(&self) -> i32;
fn intrinsic_width(&self) -> i32;
fn invalidate_contents(&self);
fn invalidate_size(&self);
fn snapshot(&self, snapshot: &Snapshot, width: f64, height: f64);
fn connect_invalidate_contents<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_invalidate_size<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}