Struct native_windows_gui::MinMaxInfo
source · [−]pub struct MinMaxInfo { /* private fields */ }
Implementations
sourceimpl MinMaxInfo
impl MinMaxInfo
sourcepub fn set_maximized_size(&self, width: i32, height: i32)
pub fn set_maximized_size(&self, width: i32, height: i32)
The maximized width and the maximized height of the window. For top-level windows, this value is based on the width of the primary monitor.
sourcepub fn maximized_size(&self) -> [i32; 2]
pub fn maximized_size(&self) -> [i32; 2]
Returns the maximized width and the maximized height of the window. For top-level windows, this value is based on the width of the primary monitor.
sourcepub fn set_maximized_pos(&self, x: i32, y: i32)
pub fn set_maximized_pos(&self, x: i32, y: i32)
Sets the position of the left side of the maximized window and the position of the top of the maximized window. For top-level windows, this value is based on the position of the primary monitor.
sourcepub fn maximized_pos(&self) -> [i32; 2]
pub fn maximized_pos(&self) -> [i32; 2]
Returns the position of the left side of the maximized window and the position of the top of the maximized window. For top-level windows, this value is based on the position of the primary monitor.
sourcepub fn set_max_size(&self, width: i32, height: i32)
pub fn set_max_size(&self, width: i32, height: i32)
Sets the maximum size of the window
sourcepub fn set_min_size(&self, width: i32, height: i32)
pub fn set_min_size(&self, width: i32, height: i32)
Sets the maximum size of the window
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MinMaxInfo
impl !Send for MinMaxInfo
impl !Sync for MinMaxInfo
impl Unpin for MinMaxInfo
impl UnwindSafe for MinMaxInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more