#[non_exhaustive]pub struct ResizeEdge(pub u32);Expand description
edge values for resizing
These values are used to indicate which edge of a surface is being dragged in a resize operation.
Tuple Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.0: u32Implementations§
Trait Implementations§
Source§impl Clone for ResizeEdge
impl Clone for ResizeEdge
Source§fn clone(&self) -> ResizeEdge
fn clone(&self) -> ResizeEdge
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 ResizeEdge
impl Debug for ResizeEdge
Source§impl From<ResizeEdge> for u32
impl From<ResizeEdge> for u32
Source§fn from(val: ResizeEdge) -> u32
fn from(val: ResizeEdge) -> u32
Converts to this type from the input type.
Source§impl Hash for ResizeEdge
impl Hash for ResizeEdge
Source§impl Ord for ResizeEdge
impl Ord for ResizeEdge
Source§fn cmp(&self, other: &ResizeEdge) -> Ordering
fn cmp(&self, other: &ResizeEdge) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ResizeEdge
impl PartialEq for ResizeEdge
Source§impl PartialOrd for ResizeEdge
impl PartialOrd for ResizeEdge
Source§impl TryFrom<u32> for ResizeEdge
impl TryFrom<u32> 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 UnsafeUnpin 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