pub enum Gravity {
Unmap,
Center,
}Expand description
Gravity When windows are resized, subwindows may be repositioned automatically relative to some position in the window. This attraction of a subwindow to some part of its parent is known as window gravity.
Gravity is defined as the lower byte of the move resize flags 32bit value https://tronche.com/gui/x/xlib/window/attributes/gravity.html
Variants§
Trait Implementations§
impl StructuralPartialEq for Gravity
Auto Trait Implementations§
impl Freeze for Gravity
impl RefUnwindSafe for Gravity
impl Send for Gravity
impl Sync for Gravity
impl Unpin for Gravity
impl UnwindSafe for Gravity
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