[][src]Trait polyhorn_ui::queries::ImageQuery

pub trait ImageQuery {
    fn width(&self) -> f32;
fn height(&self) -> f32; }

Implemented by all image-like types (including ImageAsset).

Required methods

fn width(&self) -> f32

This function should return the width of an image.

fn height(&self) -> f32

This function should return the height of an image.

Loading content...

Implementors

impl ImageQuery for ImageAsset[src]

Loading content...