pub struct WlShellSurfaceResize(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. The server may use this information to adapt its behavior, e.g. choose an appropriate cursor image.
Tuple Fields§
§0: u32Implementations§
Source§impl WlShellSurfaceResize
impl WlShellSurfaceResize
Sourcepub const BOTTOM_LEFT: Self
pub const BOTTOM_LEFT: Self
bottom and left edges
Sourcepub const BOTTOM_RIGHT: Self
pub const BOTTOM_RIGHT: Self
bottom and right edges
Source§impl WlShellSurfaceResize
impl WlShellSurfaceResize
pub const fn empty() -> Self
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: Self) -> bool
pub const fn intersects(self, other: Self) -> bool
pub const fn insert(&mut self, other: Self)
pub const fn remove(&mut self, other: Self)
pub const fn toggle(&mut self, other: Self)
pub const fn set(&mut self, other: Self, value: bool)
pub const fn intersection(self, other: Self) -> Self
pub const fn union(self, other: Self) -> Self
pub const fn difference(self, other: Self) -> Self
pub const fn complement(self) -> Self
pub const fn symmetric_difference(self, other: Self) -> Self
pub const fn all_known() -> Self
Trait Implementations§
Source§impl BitAnd for WlShellSurfaceResize
impl BitAnd for WlShellSurfaceResize
Source§impl BitAndAssign for WlShellSurfaceResize
impl BitAndAssign for WlShellSurfaceResize
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for WlShellSurfaceResize
impl BitOr for WlShellSurfaceResize
Source§impl BitOrAssign for WlShellSurfaceResize
impl BitOrAssign for WlShellSurfaceResize
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXor for WlShellSurfaceResize
impl BitXor for WlShellSurfaceResize
Source§impl BitXorAssign for WlShellSurfaceResize
impl BitXorAssign for WlShellSurfaceResize
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for WlShellSurfaceResize
impl Clone for WlShellSurfaceResize
Source§fn clone(&self) -> WlShellSurfaceResize
fn clone(&self) -> WlShellSurfaceResize
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 WlShellSurfaceResize
impl Debug for WlShellSurfaceResize
Source§impl Default for WlShellSurfaceResize
impl Default for WlShellSurfaceResize
Source§fn default() -> WlShellSurfaceResize
fn default() -> WlShellSurfaceResize
Returns the “default value” for a type. Read more
Source§impl Hash for WlShellSurfaceResize
impl Hash for WlShellSurfaceResize
Source§impl IntoIterator for WlShellSurfaceResize
impl IntoIterator for WlShellSurfaceResize
Source§impl Not for WlShellSurfaceResize
impl Not for WlShellSurfaceResize
Source§impl Ord for WlShellSurfaceResize
impl Ord for WlShellSurfaceResize
Source§fn cmp(&self, other: &WlShellSurfaceResize) -> Ordering
fn cmp(&self, other: &WlShellSurfaceResize) -> 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 WlShellSurfaceResize
impl PartialEq for WlShellSurfaceResize
Source§impl PartialOrd for WlShellSurfaceResize
impl PartialOrd for WlShellSurfaceResize
Source§impl Sub for WlShellSurfaceResize
impl Sub for WlShellSurfaceResize
Source§impl SubAssign for WlShellSurfaceResize
impl SubAssign for WlShellSurfaceResize
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreimpl Copy for WlShellSurfaceResize
impl Eq for WlShellSurfaceResize
impl StructuralPartialEq for WlShellSurfaceResize
Auto Trait Implementations§
impl Freeze for WlShellSurfaceResize
impl RefUnwindSafe for WlShellSurfaceResize
impl Send for WlShellSurfaceResize
impl Sync for WlShellSurfaceResize
impl Unpin for WlShellSurfaceResize
impl UnwindSafe for WlShellSurfaceResize
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