pub struct WlShellSurfaceTransient(pub u32);Expand description
details of transient behaviour
These flags specify details of the expected behaviour of transient surfaces. Used in the set_transient request.
Tuple Fields§
§0: u32Implementations§
Source§impl WlShellSurfaceTransient
impl WlShellSurfaceTransient
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 WlShellSurfaceTransient
impl BitAnd for WlShellSurfaceTransient
Source§impl BitAndAssign for WlShellSurfaceTransient
impl BitAndAssign for WlShellSurfaceTransient
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for WlShellSurfaceTransient
impl BitOr for WlShellSurfaceTransient
Source§impl BitOrAssign for WlShellSurfaceTransient
impl BitOrAssign for WlShellSurfaceTransient
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXor for WlShellSurfaceTransient
impl BitXor for WlShellSurfaceTransient
Source§impl BitXorAssign for WlShellSurfaceTransient
impl BitXorAssign for WlShellSurfaceTransient
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for WlShellSurfaceTransient
impl Clone for WlShellSurfaceTransient
Source§fn clone(&self) -> WlShellSurfaceTransient
fn clone(&self) -> WlShellSurfaceTransient
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 WlShellSurfaceTransient
impl Debug for WlShellSurfaceTransient
Source§impl Default for WlShellSurfaceTransient
impl Default for WlShellSurfaceTransient
Source§fn default() -> WlShellSurfaceTransient
fn default() -> WlShellSurfaceTransient
Returns the “default value” for a type. Read more
Source§impl Hash for WlShellSurfaceTransient
impl Hash for WlShellSurfaceTransient
Source§impl Not for WlShellSurfaceTransient
impl Not for WlShellSurfaceTransient
Source§impl Ord for WlShellSurfaceTransient
impl Ord for WlShellSurfaceTransient
Source§fn cmp(&self, other: &WlShellSurfaceTransient) -> Ordering
fn cmp(&self, other: &WlShellSurfaceTransient) -> 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 WlShellSurfaceTransient
impl PartialEq for WlShellSurfaceTransient
Source§impl PartialOrd for WlShellSurfaceTransient
impl PartialOrd for WlShellSurfaceTransient
Source§impl Sub for WlShellSurfaceTransient
impl Sub for WlShellSurfaceTransient
Source§impl SubAssign for WlShellSurfaceTransient
impl SubAssign for WlShellSurfaceTransient
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreimpl Copy for WlShellSurfaceTransient
impl Eq for WlShellSurfaceTransient
impl StructuralPartialEq for WlShellSurfaceTransient
Auto Trait Implementations§
impl Freeze for WlShellSurfaceTransient
impl RefUnwindSafe for WlShellSurfaceTransient
impl Send for WlShellSurfaceTransient
impl Sync for WlShellSurfaceTransient
impl Unpin for WlShellSurfaceTransient
impl UnwindSafe for WlShellSurfaceTransient
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