Make all geometry types Default to support movement-based refinement

This commit is contained in:
Nathan Sobo 2023-10-13 12:41:00 -06:00
parent fedb787b4f
commit 297b6b282c
4 changed files with 170 additions and 83 deletions

View file

@ -132,7 +132,7 @@ impl Window {
#[derive(Clone, Debug, Default, PartialEq, Eq)]
#[repr(C)]
pub struct ContentMask<P: Clone + Debug> {
pub struct ContentMask<P: Clone + Default + Debug> {
pub bounds: Bounds<P>,
}