Struct x11rb_protocol::protocol::xfixes::SelectionEvent
source · pub struct SelectionEvent(u8);
Tuple Fields§
§0: u8
Implementations§
source§impl SelectionEvent
impl SelectionEvent
pub const SET_SELECTION_OWNER: Self = _
pub const SELECTION_WINDOW_DESTROY: Self = _
pub const SELECTION_CLIENT_CLOSE: Self = _
Trait Implementations§
source§impl Clone for SelectionEvent
impl Clone for SelectionEvent
source§fn clone(&self) -> SelectionEvent
fn clone(&self) -> SelectionEvent
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 SelectionEvent
impl Debug for SelectionEvent
source§impl Default for SelectionEvent
impl Default for SelectionEvent
source§fn default() -> SelectionEvent
fn default() -> SelectionEvent
Returns the “default value” for a type. Read more
source§impl From<SelectionEvent> for Option<u16>
impl From<SelectionEvent> for Option<u16>
source§fn from(input: SelectionEvent) -> Self
fn from(input: SelectionEvent) -> Self
Converts to this type from the input type.
source§impl From<SelectionEvent> for Option<u32>
impl From<SelectionEvent> for Option<u32>
source§fn from(input: SelectionEvent) -> Self
fn from(input: SelectionEvent) -> Self
Converts to this type from the input type.
source§impl From<SelectionEvent> for Option<u8>
impl From<SelectionEvent> for Option<u8>
source§fn from(input: SelectionEvent) -> Self
fn from(input: SelectionEvent) -> Self
Converts to this type from the input type.
source§impl From<SelectionEvent> for u16
impl From<SelectionEvent> for u16
source§fn from(input: SelectionEvent) -> Self
fn from(input: SelectionEvent) -> Self
Converts to this type from the input type.
source§impl From<SelectionEvent> for u32
impl From<SelectionEvent> for u32
source§fn from(input: SelectionEvent) -> Self
fn from(input: SelectionEvent) -> Self
Converts to this type from the input type.
source§impl From<SelectionEvent> for u8
impl From<SelectionEvent> for u8
source§fn from(input: SelectionEvent) -> Self
fn from(input: SelectionEvent) -> Self
Converts to this type from the input type.
source§impl From<u8> for SelectionEvent
impl From<u8> for SelectionEvent
source§impl Hash for SelectionEvent
impl Hash for SelectionEvent
source§impl Ord for SelectionEvent
impl Ord for SelectionEvent
source§fn cmp(&self, other: &SelectionEvent) -> Ordering
fn cmp(&self, other: &SelectionEvent) -> 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 SelectionEvent
impl PartialEq for SelectionEvent
source§fn eq(&self, other: &SelectionEvent) -> bool
fn eq(&self, other: &SelectionEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SelectionEvent
impl PartialOrd for SelectionEvent
source§fn partial_cmp(&self, other: &SelectionEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &SelectionEvent) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SelectionEvent
impl Eq for SelectionEvent
impl StructuralPartialEq for SelectionEvent
Auto Trait Implementations§
impl Freeze for SelectionEvent
impl RefUnwindSafe for SelectionEvent
impl Send for SelectionEvent
impl Sync for SelectionEvent
impl Unpin for SelectionEvent
impl UnwindSafe for SelectionEvent
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