pub enum WindowResizeDirection {
East,
North,
NorthEast,
NorthWest,
South,
SouthEast,
SouthWest,
West,
}Expand description
Edge or corner used by WindowModifierExt::window_resize_area.
Variants§
East
Resize from the east edge.
North
Resize from the north edge.
NorthEast
Resize from the north-east corner.
NorthWest
Resize from the north-west corner.
South
Resize from the south edge.
SouthEast
Resize from the south-east corner.
SouthWest
Resize from the south-west corner.
West
Resize from the west edge.
Trait Implementations§
Source§impl Clone for WindowResizeDirection
impl Clone for WindowResizeDirection
Source§fn clone(&self) -> WindowResizeDirection
fn clone(&self) -> WindowResizeDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WindowResizeDirection
Source§impl Debug for WindowResizeDirection
impl Debug for WindowResizeDirection
impl Eq for WindowResizeDirection
Source§impl Hash for WindowResizeDirection
impl Hash for WindowResizeDirection
Source§impl PartialEq for WindowResizeDirection
impl PartialEq for WindowResizeDirection
Source§fn eq(&self, other: &WindowResizeDirection) -> bool
fn eq(&self, other: &WindowResizeDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WindowResizeDirection
Auto Trait Implementations§
impl Freeze for WindowResizeDirection
impl RefUnwindSafe for WindowResizeDirection
impl Send for WindowResizeDirection
impl Sync for WindowResizeDirection
impl Unpin for WindowResizeDirection
impl UnsafeUnpin for WindowResizeDirection
impl UnwindSafe for WindowResizeDirection
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