Trait embedded_text::utils::rect_ext::RectExt [−][src]
pub trait RectExt {
fn size(self) -> Size;
fn into_well_formed(self) -> Rectangle;
}Rectangle extensions
Required methods
fn size(self) -> Size[src]
Returns the (correct) size of a Rectangle.
fn into_well_formed(self) -> Rectangle[src]
Sorts the coordinates of a Rectangle so that top < bottom and left < right.