pub fn transform_rect(&self, rect: &TypedRect<T, Src>) -> TypedRect<T, Dst> {
        TypedRect::from_points(&[
            self.transform_point(&rect.origin),
            self.transform_point(&rect.top_right()),
            self.transform_point(&rect.bottom_left()),
            self.transform_point(&rect.bottom_right()),
        ])
    }
/// Returns a rectangle that encompasses the result of transforming the given rectangle by this
/// matrix.
Returns a rectangle that encompasses the result of transforming the given rectangle by this
matrix.
Returns a rectangle that encompasses the result of transforming the given rectangle by this matrix .
pub fn transform_rect(&self, rect: &TypedRect<T, Src>) -> TypedRect<T, Dst> {
        TypedRect::from_points(&[
            self.transform_point(&rect.origin),
            self.transform_point(&rect.top_right()),
            self.transform_point(&rect.bottom_left()),
            self.transform_point(&rect.bottom_right()),
        ])
    }
pub fn transform_rect ( & self , rect : & TypedRect < T , Src > ) -> TypedRect < T , Dst > { TypedRect :: from_points ( & [ self . transform_point ( & rect . origin ) , self . transform_point ( & rect . top_right ( ) ) , self . transform_point ( & rect . bottom_left ( ) ) , self . transform_point ( & rect . bottom_right ( ) ) , ] ) }
Returns a rectangle that encompasses the result of transforming the given rectangle by this
matrix.
Returns a rectangle that encompasses the result of transforming the given rectangle by this matrix .
&self
rect
&TypedRect<T, Src>
&self
rect
&TypedRect<T, Src>