Struct x11rb_protocol::protocol::xproto::FocusInEvent
source · pub struct FocusInEvent {
pub response_type: u8,
pub detail: NotifyDetail,
pub sequence: u16,
pub event: Window,
pub mode: NotifyMode,
}
Expand description
NOT YET DOCUMENTED.
§Fields
event
- The window on which the focus event was generated. This is the window used by the X server to report the event.detail
-mode
-
Fields§
§response_type: u8
§detail: NotifyDetail
§sequence: u16
§event: Window
§mode: NotifyMode
Trait Implementations§
source§impl Clone for FocusInEvent
impl Clone for FocusInEvent
source§fn clone(&self) -> FocusInEvent
fn clone(&self) -> FocusInEvent
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 FocusInEvent
impl Debug for FocusInEvent
source§impl Default for FocusInEvent
impl Default for FocusInEvent
source§fn default() -> FocusInEvent
fn default() -> FocusInEvent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FocusInEvent
impl<'de> Deserialize<'de> for FocusInEvent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&FocusInEvent> for [u8; 32]
impl From<&FocusInEvent> for [u8; 32]
source§fn from(input: &FocusInEvent) -> Self
fn from(input: &FocusInEvent) -> Self
Converts to this type from the input type.
source§impl From<FocusInEvent> for [u8; 32]
impl From<FocusInEvent> for [u8; 32]
source§fn from(input: FocusInEvent) -> Self
fn from(input: FocusInEvent) -> Self
Converts to this type from the input type.
source§impl Hash for FocusInEvent
impl Hash for FocusInEvent
source§impl Ord for FocusInEvent
impl Ord for FocusInEvent
source§fn cmp(&self, other: &FocusInEvent) -> Ordering
fn cmp(&self, other: &FocusInEvent) -> 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 FocusInEvent
impl PartialEq for FocusInEvent
source§fn eq(&self, other: &FocusInEvent) -> bool
fn eq(&self, other: &FocusInEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FocusInEvent
impl PartialOrd for FocusInEvent
source§fn partial_cmp(&self, other: &FocusInEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &FocusInEvent) -> 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 moresource§impl Serialize for FocusInEvent
impl Serialize for FocusInEvent
source§impl Serialize for FocusInEvent
impl Serialize for FocusInEvent
source§impl TryParse for FocusInEvent
impl TryParse for FocusInEvent
impl Copy for FocusInEvent
impl Eq for FocusInEvent
impl StructuralPartialEq for FocusInEvent
Auto Trait Implementations§
impl Freeze for FocusInEvent
impl RefUnwindSafe for FocusInEvent
impl Send for FocusInEvent
impl Sync for FocusInEvent
impl Unpin for FocusInEvent
impl UnwindSafe for FocusInEvent
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> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
source§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<RawFdContainer>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<RawFdContainer> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more