pub struct AppControl {
pub close_requested: bool,
/* private fields */
}Fields§
§close_requested: boolImplementations§
Source§impl AppControl
impl AppControl
pub fn position(&self) -> (i32, i32)
pub fn set_position(&mut self, x: i32, y: i32)
pub fn size(&self) -> (u32, u32)
pub fn set_size(&mut self, width: u32, height: u32)
pub fn minimized(&self) -> bool
pub fn set_minimized(&mut self, minimized: bool)
pub fn maximized(&self) -> bool
pub fn set_maximized(&mut self, maximized: bool)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AppControl
impl RefUnwindSafe for AppControl
impl Send for AppControl
impl Sync for AppControl
impl Unpin for AppControl
impl UnsafeUnpin for AppControl
impl UnwindSafe for AppControl
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