Trait cognitive_qualia::image::Image
[−]
[src]
pub trait Image { fn get_size(&self) -> Size; fn get_width(&self) -> usize; fn get_height(&self) -> usize; }
Trait providing interface for image storing objects.
Required Methods
fn get_size(&self) -> Size
Get width and height of the image.
fn get_width(&self) -> usize
Return width of the image.
fn get_height(&self) -> usize
Returns height of the image.
Implementors
impl Image for HwImage
impl Image for EglAttributes
impl Image for DmabufAttributes
impl Image for Buffer
impl Image for MemoryView