#[repr(C)]pub enum WindowResizeEdge {
Top = 0,
Bottom = 1,
Left = 2,
Right = 3,
TopLeft = 4,
TopRight = 5,
BottomLeft = 6,
BottomRight = 7,
}Expand description
Which edge or corner of the window is being resized
Variants§
Trait Implementations§
Source§impl Clone for WindowResizeEdge
impl Clone for WindowResizeEdge
Source§fn clone(&self) -> WindowResizeEdge
fn clone(&self) -> WindowResizeEdge
Returns a duplicate 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 WindowResizeEdge
impl Debug for WindowResizeEdge
Source§impl PartialEq for WindowResizeEdge
impl PartialEq for WindowResizeEdge
impl Copy for WindowResizeEdge
impl Eq for WindowResizeEdge
impl StructuralPartialEq for WindowResizeEdge
Auto Trait Implementations§
impl Freeze for WindowResizeEdge
impl RefUnwindSafe for WindowResizeEdge
impl Send for WindowResizeEdge
impl Sync for WindowResizeEdge
impl Unpin for WindowResizeEdge
impl UnwindSafe for WindowResizeEdge
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more