pub struct DeskWin<'a> {
pub key: u32,
pub title: &'a str,
pub icon: u32,
pub flags: u32,
pub min: [i32; 2],
pub size: [i32; 2],
}Expand description
a window as the app describes it to desk_begin every frame
Fields§
§key: u32!= 0 and stable (the saved state refers to it)
title: &'a strshown in its title bar, its taskbar button and to screen readers
icon: u32IC_* of its title bar and taskbar button (0 = none)
flags: u32DWF_*
min: [i32; 2]the smallest content size (DIP, without the title bar; 0 = the library’s)
size: [i32; 2]the size a new window gets (DIP, without the title bar; 0 = the library’s)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for DeskWin<'a>
impl<'a> Freeze for DeskWin<'a>
impl<'a> RefUnwindSafe for DeskWin<'a>
impl<'a> Send for DeskWin<'a>
impl<'a> Sync for DeskWin<'a>
impl<'a> Unpin for DeskWin<'a>
impl<'a> UnsafeUnpin for DeskWin<'a>
impl<'a> UnwindSafe for DeskWin<'a>
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