pub struct WindowGeometry {
pub size: Option<(f64, f64)>,
pub min_size: Option<(f64, f64)>,
}Expand description
The window geometry Day.toml [window] declares, for the generated res::window_options():
size when it names width or height, min_size when it names min_width or
min_height. A key left out takes the CLI’s default (480x640, minimum 320x400). No Day.toml,
or no [window], declares nothing, and the window keeps WindowOptions’ own defaults.
Fields§
§size: Option<(f64, f64)>§min_size: Option<(f64, f64)>Trait Implementations§
Source§impl Clone for WindowGeometry
impl Clone for WindowGeometry
impl Copy for WindowGeometry
Source§impl Debug for WindowGeometry
impl Debug for WindowGeometry
Source§impl Default for WindowGeometry
impl Default for WindowGeometry
Source§impl PartialEq for WindowGeometry
impl PartialEq for WindowGeometry
impl StructuralPartialEq for WindowGeometry
Auto Trait Implementations§
impl Forget for WindowGeometry
impl Freeze for WindowGeometry
impl Move for WindowGeometry
impl RefUnwindSafe for WindowGeometry
impl Send for WindowGeometry
impl Sync for WindowGeometry
impl Unpin for WindowGeometry
impl UnsafeUnpin for WindowGeometry
impl UnwindSafe for WindowGeometry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more