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