Enum winit::window::ResizeDirection
source · pub enum ResizeDirection {
East,
North,
NorthEast,
NorthWest,
South,
SouthEast,
SouthWest,
West,
}
Expand description
Defines the orientation that a window resize will be performed.
Variants§
Trait Implementations§
source§impl Clone for ResizeDirection
impl Clone for ResizeDirection
source§fn clone(&self) -> ResizeDirection
fn clone(&self) -> ResizeDirection
Returns a copy 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 ResizeDirection
impl Debug for ResizeDirection
source§impl From<ResizeDirection> for CursorIcon
impl From<ResizeDirection> for CursorIcon
source§fn from(direction: ResizeDirection) -> Self
fn from(direction: ResizeDirection) -> Self
Converts to this type from the input type.
source§impl Hash for ResizeDirection
impl Hash for ResizeDirection
source§impl PartialEq<ResizeDirection> for ResizeDirection
impl PartialEq<ResizeDirection> for ResizeDirection
source§fn eq(&self, other: &ResizeDirection) -> bool
fn eq(&self, other: &ResizeDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.