Trait embedded_layout::utils::rect_helper::RectExt
source · pub trait RectExt {
// Required method
fn enveloping(&self, other: &Rectangle) -> Rectangle;
}
Expand description
The trait that describes the extension methods.
Required Methods§
sourcefn enveloping(&self, other: &Rectangle) -> Rectangle
fn enveloping(&self, other: &Rectangle) -> Rectangle
Return the bounding Rectangle
that encompasses both Rectangles