pub fn resize<Message>(new_size: Size<u32>) -> Command<Message>
Resizes the window to the given logical dimensions.