pub enum ResizeEdge {
N,
S,
E,
W,
NE,
NW,
SE,
SW,
}Expand description
Edge or corner used for an interactive native-window resize.
The compass directions are logical screen directions; they do not change in right-to-left interfaces.
§Examples
use ailloli_ui_runtime::input::ResizeEdge;
assert_ne!(ResizeEdge::N, ResizeEdge::SE);Variants§
N
North/top edge.
S
South/bottom edge.
E
East/right edge.
W
West/left edge.
NE
North-east/top-right corner.
NW
North-west/top-left corner.
SE
South-east/bottom-right corner.
SW
South-west/bottom-left corner.
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 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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<A> IntoClickAction<A> for Awhere
A: Clone + 'static,
impl<A> IntoClickAction<A> for Awhere
A: Clone + 'static,
Source§fn into_click_action(self) -> ClickAction<A>
fn into_click_action(self) -> ClickAction<A>
Implements the into_click_action helper used by this module.