This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

✨ Add convenience Region.rectangle to make a Object::Rectangle from a Region

+5 -1
+5 -1
src/region.rs
··· 1 - use crate::Point; 1 + use crate::{Object, Point}; 2 2 use anyhow::{format_err, Error, Result}; 3 3 use backtrace::Backtrace; 4 4 use rand::Rng; ··· 45 45 } 46 46 47 47 Ok(()) 48 + } 49 + 50 + pub fn rectangle(&self) -> Object { 51 + Object::Rectangle(self.start, self.end) 48 52 } 49 53 } 50 54