#[repr(u32)]pub enum ResizeEdge {
None = 0,
Top = 1,
Bottom = 2,
Left = 4,
TopLeft = 5,
BottomLeft = 6,
Right = 8,
TopRight = 9,
BottomRight = 10,
}
Expand description
edge values for resizing
These values are used to indicate which edge of a surface is being dragged in a resize operation.
Variants§
None = 0
Top = 1
Bottom = 2
Left = 4
TopLeft = 5
BottomLeft = 6
Right = 8
TopRight = 9
BottomRight = 10
Implementations§
Trait Implementations§
Source§impl Clone for ResizeEdge
impl Clone for ResizeEdge
Source§fn clone(&self) -> ResizeEdge
fn clone(&self) -> ResizeEdge
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 ResizeEdge
impl Debug for ResizeEdge
Source§impl Into<Arg> for ResizeEdge
impl Into<Arg> for ResizeEdge
Source§impl PartialEq for ResizeEdge
impl PartialEq for ResizeEdge
impl Copy for ResizeEdge
impl Eq for ResizeEdge
impl StructuralPartialEq for ResizeEdge
Auto Trait Implementations§
impl Freeze for ResizeEdge
impl RefUnwindSafe for ResizeEdge
impl Send for ResizeEdge
impl Sync for ResizeEdge
impl Unpin for ResizeEdge
impl UnwindSafe for ResizeEdge
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)