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

Method resize

src/window.rs:84–87  ·  view source on GitHub ↗
(&mut self, width: u32, height: u32)

Source from the content-addressed store, hash-verified

82 }
83
84 pub fn resize(&mut self, width: u32, height: u32) {
85 self.width = width;
86 self.height = height;
87 }
88
89 pub fn dimensions(&self) -> (u32, u32) {
90 (self.width, self.height)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected