[−][src]Struct native_windows_gui::MinMaxInfo
Implementations
impl MinMaxInfo
[src]
pub fn set_maximized_size(&self, width: i32, height: i32)
[src]
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.
pub fn maximized_size(&self) -> [i32; 2]
[src]
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.
pub fn set_maximized_pos(&self, x: i32, y: i32)
[src]
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.
pub fn maximized_pos(&self) -> [i32; 2]
[src]
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.
pub fn set_max_size(&self, width: i32, height: i32)
[src]
Sets the maximum size of the window
pub fn max_size(&self) -> [i32; 2]
[src]
Returns the maximum size of the window
pub fn set_min_size(&self, width: i32, height: i32)
[src]
Sets the maximum size of the window
pub fn min_size(&self) -> [i32; 2]
[src]
Returns the minimum 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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,