Trait libhelium::subclass::prelude::PaintableImpl

pub trait PaintableImpl: PaintableImplExt + ObjectImpl {
    // Required method
    fn snapshot(&self, snapshot: &Snapshot, width: f64, height: f64);

    // Provided methods
    fn current_image(&self) -> Paintable { ... }
    fn flags(&self) -> PaintableFlags { ... }
    fn intrinsic_width(&self) -> i32 { ... }
    fn intrinsic_height(&self) -> i32 { ... }
    fn intrinsic_aspect_ratio(&self) -> f64 { ... }
}

Required Methods§

fn snapshot(&self, snapshot: &Snapshot, width: f64, height: f64)

Provided Methods§

fn current_image(&self) -> Paintable

fn flags(&self) -> PaintableFlags

fn intrinsic_width(&self) -> i32

fn intrinsic_height(&self) -> i32

fn intrinsic_aspect_ratio(&self) -> f64

Object Safety§

This trait is not object safe.

Implementors§