ShapeI

Type Alias ShapeI 

Source
pub type ShapeI = Shape<u32>;

Aliased Type§

pub struct ShapeI {
    pub w: u32,
    pub h: u32,
}

Fields§

§w: u32§h: u32

Implementations§

Source§

impl ShapeI

Source

pub fn from_im<I>(im: &I) -> Self
where I: GenericImage,

Trait Implementations§

Source§

impl From<[usize; 2]> for ShapeI

Source§

fn from(value: [usize; 2]) -> Self

Converts to this type from the input type.