[][src]Struct native_windows_gui::MinMaxInfo

pub struct MinMaxInfo { /* fields omitted */ }

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

impl Debug for MinMaxInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.