MCPcopy Create free account
hub / github.com/algoscienceacademy/RustUI / dimensions

Method dimensions

src/window.rs:89–91  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

87 }
88
89 pub fn dimensions(&self) -> (u32, u32) {
90 (self.width, self.height)
91 }
92
93 pub fn get_platform_specific_size(&self) -> Size {
94 Size::new(self.width as f32, self.height as f32)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected