pub struct WindowPlacement { /* private fields */ }
Available on crate feature
ui
only.Expand description
Window show state plus positions.
Implementations§
Source§impl WindowPlacement
impl WindowPlacement
pub fn get_show_state(&self) -> Option<WindowShowState>
pub fn set_show_state(&mut self, state: WindowShowState)
pub fn get_minimized_position(&self) -> Point
pub fn set_minimized_position(&mut self, coords: Point)
pub fn get_maximized_position(&self) -> Point
pub fn set_maximized_position(&mut self, coords: Point)
pub fn get_restored_position(&self) -> Rectangle
pub fn set_restored_position(&mut self, rectangle: Rectangle)
Trait Implementations§
Source§impl Clone for WindowPlacement
impl Clone for WindowPlacement
Source§fn clone(&self) -> WindowPlacement
fn clone(&self) -> WindowPlacement
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WindowPlacement
impl Debug for WindowPlacement
impl Copy for WindowPlacement
Auto Trait Implementations§
impl Freeze for WindowPlacement
impl RefUnwindSafe for WindowPlacement
impl Send for WindowPlacement
impl Sync for WindowPlacement
impl Unpin for WindowPlacement
impl UnwindSafe for WindowPlacement
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