pub trait RectExt {
    // Required method
    fn enveloping(&self, other: &Rectangle) -> Rectangle;
}
Expand description

The trait that describes the extension methods.

Required Methods§

source

fn enveloping(&self, other: &Rectangle) -> Rectangle

Return the bounding Rectangle that encompasses both Rectangles

Implementations on Foreign Types§

source§

impl RectExt for Rectangle

source§

fn enveloping(&self, other: &Rectangle) -> Rectangle

Implementors§