pub trait Size2d: Clone + Copy {
    fn xy(&self) -> IVec2;

    fn width(&self) -> usize { ... }
fn height(&self) -> usize { ... }
fn len(&self) -> usize { ... } }
Expand description

A trait for mixing of the different types representing a 2d size.

Required methods

Provided methods

Implementations on Foreign Types

Implementors