pub enum Shape {
Grow,
Max,
Halfw,
Halfh,
Small,
Medium,
Large,
Shrink,
Square,
UnMax,
Static(u32, u32),
}Expand description
Shape provides a number of pre-defined shapes to manipulate the window into, taking into account borders and taskbars automatically.
Variants§
Trait Implementations§
impl StructuralPartialEq for Shape
Auto Trait Implementations§
impl Freeze for Shape
impl RefUnwindSafe for Shape
impl Send for Shape
impl Sync for Shape
impl Unpin for Shape
impl UnwindSafe for Shape
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