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 for ResizeDirection
impl PartialEq 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 ==
.impl Copy for ResizeDirection
impl Eq for ResizeDirection
impl StructuralEq for ResizeDirection
impl StructuralPartialEq for ResizeDirection
Auto Trait Implementations§
impl RefUnwindSafe for ResizeDirection
impl Send for ResizeDirection
impl Sync for ResizeDirection
impl Unpin for ResizeDirection
impl UnwindSafe for ResizeDirection
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