pub trait LayoutHTMLImageElementHelpers {
    // Required methods
    fn image(self) -> Option<Arc<Image>>;
    fn image_url(self) -> Option<ServoUrl>;
    fn image_density(self) -> Option<f64>;
    fn image_data(self) -> (Option<Arc<Image>>, Option<ImageMetadata>);
    fn get_width(self) -> LengthOrPercentageOrAuto;
    fn get_height(self) -> LengthOrPercentageOrAuto;
}

Required Methods§

Implementors§