pub trait XRViewportMethods<D>where D: DomTypes,{ // Required methods fn X(&self) -> i32; fn Y(&self) -> i32; fn Width(&self) -> i32; fn Height(&self) -> i32; }