Struct x11rb_protocol::protocol::xfixes::ClientDisconnectFlags
source · pub struct ClientDisconnectFlags(u32);
Expand description
§Fields
Default
- The default behavior for regular clients: the X11 server won’t terminate as long as such clients are still connected, and should this client disconnect, the server will continue running so long as other clients (that have not set XFixesClientDisconnectFlagTerminate) are connected.Terminate
- Indicates to the X11 server that it can ignore the client and terminate itself even though the client is still connected to the X11 server.
Tuple Fields§
§0: u32
Implementations§
source§impl ClientDisconnectFlags
impl ClientDisconnectFlags
sourcepub fn contains(self, flag: impl Into<u32>) -> bool
pub fn contains(self, flag: impl Into<u32>) -> bool
Check if this object has all bits set that are also set in flag
.
flag
can be a single enum variant or a whole other mask.
sourcepub fn intersects(self, flag: impl Into<u32>) -> bool
pub fn intersects(self, flag: impl Into<u32>) -> bool
Check if this object has some bits set that are also set in flag
.
flag
can be a single enum variant or a whole other mask.
Trait Implementations§
source§impl BitAnd<ClientDisconnectFlags> for u32
impl BitAnd<ClientDisconnectFlags> for u32
source§type Output = ClientDisconnectFlags
type Output = ClientDisconnectFlags
The resulting type after applying the
&
operator.source§impl BitAnd<u32> for ClientDisconnectFlags
impl BitAnd<u32> for ClientDisconnectFlags
source§impl BitAnd for ClientDisconnectFlags
impl BitAnd for ClientDisconnectFlags
source§impl BitAndAssign<ClientDisconnectFlags> for u32
impl BitAndAssign<ClientDisconnectFlags> for u32
source§fn bitand_assign(&mut self, other: ClientDisconnectFlags)
fn bitand_assign(&mut self, other: ClientDisconnectFlags)
Performs the
&=
operation. Read moresource§impl BitAndAssign<u32> for ClientDisconnectFlags
impl BitAndAssign<u32> for ClientDisconnectFlags
source§fn bitand_assign(&mut self, other: u32)
fn bitand_assign(&mut self, other: u32)
Performs the
&=
operation. Read moresource§impl BitAndAssign for ClientDisconnectFlags
impl BitAndAssign for ClientDisconnectFlags
source§fn bitand_assign(&mut self, other: ClientDisconnectFlags)
fn bitand_assign(&mut self, other: ClientDisconnectFlags)
Performs the
&=
operation. Read moresource§impl BitOr<ClientDisconnectFlags> for u32
impl BitOr<ClientDisconnectFlags> for u32
source§type Output = ClientDisconnectFlags
type Output = ClientDisconnectFlags
The resulting type after applying the
|
operator.source§impl BitOr<u32> for ClientDisconnectFlags
impl BitOr<u32> for ClientDisconnectFlags
source§impl BitOr for ClientDisconnectFlags
impl BitOr for ClientDisconnectFlags
source§impl BitOrAssign<ClientDisconnectFlags> for u32
impl BitOrAssign<ClientDisconnectFlags> for u32
source§fn bitor_assign(&mut self, other: ClientDisconnectFlags)
fn bitor_assign(&mut self, other: ClientDisconnectFlags)
Performs the
|=
operation. Read moresource§impl BitOrAssign<u32> for ClientDisconnectFlags
impl BitOrAssign<u32> for ClientDisconnectFlags
source§fn bitor_assign(&mut self, other: u32)
fn bitor_assign(&mut self, other: u32)
Performs the
|=
operation. Read moresource§impl BitOrAssign for ClientDisconnectFlags
impl BitOrAssign for ClientDisconnectFlags
source§fn bitor_assign(&mut self, other: ClientDisconnectFlags)
fn bitor_assign(&mut self, other: ClientDisconnectFlags)
Performs the
|=
operation. Read moresource§impl Clone for ClientDisconnectFlags
impl Clone for ClientDisconnectFlags
source§fn clone(&self) -> ClientDisconnectFlags
fn clone(&self) -> ClientDisconnectFlags
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 ClientDisconnectFlags
impl Debug for ClientDisconnectFlags
source§impl Default for ClientDisconnectFlags
impl Default for ClientDisconnectFlags
source§fn default() -> ClientDisconnectFlags
fn default() -> ClientDisconnectFlags
Returns the “default value” for a type. Read more
source§impl From<ClientDisconnectFlags> for Option<u32>
impl From<ClientDisconnectFlags> for Option<u32>
source§fn from(input: ClientDisconnectFlags) -> Self
fn from(input: ClientDisconnectFlags) -> Self
Converts to this type from the input type.
source§impl From<ClientDisconnectFlags> for u32
impl From<ClientDisconnectFlags> for u32
source§fn from(input: ClientDisconnectFlags) -> Self
fn from(input: ClientDisconnectFlags) -> Self
Converts to this type from the input type.
source§impl From<u16> for ClientDisconnectFlags
impl From<u16> for ClientDisconnectFlags
source§impl From<u32> for ClientDisconnectFlags
impl From<u32> for ClientDisconnectFlags
source§impl From<u8> for ClientDisconnectFlags
impl From<u8> for ClientDisconnectFlags
source§impl Hash for ClientDisconnectFlags
impl Hash for ClientDisconnectFlags
source§impl Ord for ClientDisconnectFlags
impl Ord for ClientDisconnectFlags
source§fn cmp(&self, other: &ClientDisconnectFlags) -> Ordering
fn cmp(&self, other: &ClientDisconnectFlags) -> 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 ClientDisconnectFlags
impl PartialEq for ClientDisconnectFlags
source§impl PartialOrd for ClientDisconnectFlags
impl PartialOrd for ClientDisconnectFlags
impl Copy for ClientDisconnectFlags
impl Eq for ClientDisconnectFlags
impl StructuralPartialEq for ClientDisconnectFlags
Auto Trait Implementations§
impl Freeze for ClientDisconnectFlags
impl RefUnwindSafe for ClientDisconnectFlags
impl Send for ClientDisconnectFlags
impl Sync for ClientDisconnectFlags
impl Unpin for ClientDisconnectFlags
impl UnwindSafe for ClientDisconnectFlags
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
)