Struct x11rb_protocol::protocol::xproto::InputFocus
source · pub struct InputFocus(/* private fields */);
Expand description
§Fields
None
- The focus reverts toXCB_NONE
, so no window will have the input focus.PointerRoot
- The focus reverts toXCB_POINTER_ROOT
respectively. When the focus reverts, FocusIn and FocusOut events are generated, but the last-focus-change time is not changed.Parent
- The focus reverts to the parent (or closest viewable ancestor) and the new revert_to value isXCB_INPUT_FOCUS_NONE
.FollowKeyboard
- NOT YET DOCUMENTED. Only relevant for the xinput extension.
Implementations§
source§impl InputFocus
impl InputFocus
pub const NONE: Self = _
pub const POINTER_ROOT: Self = _
pub const PARENT: Self = _
pub const FOLLOW_KEYBOARD: Self = _
Trait Implementations§
source§impl Clone for InputFocus
impl Clone for InputFocus
source§fn clone(&self) -> InputFocus
fn clone(&self) -> InputFocus
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 InputFocus
impl Debug for InputFocus
source§impl Default for InputFocus
impl Default for InputFocus
source§fn default() -> InputFocus
fn default() -> InputFocus
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InputFocus
impl<'de> Deserialize<'de> for InputFocus
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<InputFocus> for Option<u16>
impl From<InputFocus> for Option<u16>
source§fn from(input: InputFocus) -> Self
fn from(input: InputFocus) -> Self
Converts to this type from the input type.
source§impl From<InputFocus> for Option<u32>
impl From<InputFocus> for Option<u32>
source§fn from(input: InputFocus) -> Self
fn from(input: InputFocus) -> Self
Converts to this type from the input type.
source§impl From<InputFocus> for Option<u8>
impl From<InputFocus> for Option<u8>
source§fn from(input: InputFocus) -> Self
fn from(input: InputFocus) -> Self
Converts to this type from the input type.
source§impl From<InputFocus> for u16
impl From<InputFocus> for u16
source§fn from(input: InputFocus) -> Self
fn from(input: InputFocus) -> Self
Converts to this type from the input type.
source§impl From<InputFocus> for u32
impl From<InputFocus> for u32
source§fn from(input: InputFocus) -> Self
fn from(input: InputFocus) -> Self
Converts to this type from the input type.
source§impl From<InputFocus> for u8
impl From<InputFocus> for u8
source§fn from(input: InputFocus) -> Self
fn from(input: InputFocus) -> Self
Converts to this type from the input type.
source§impl From<u8> for InputFocus
impl From<u8> for InputFocus
source§impl Hash for InputFocus
impl Hash for InputFocus
source§impl Ord for InputFocus
impl Ord for InputFocus
source§fn cmp(&self, other: &InputFocus) -> Ordering
fn cmp(&self, other: &InputFocus) -> 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 InputFocus
impl PartialEq for InputFocus
source§fn eq(&self, other: &InputFocus) -> bool
fn eq(&self, other: &InputFocus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for InputFocus
impl PartialOrd for InputFocus
source§fn partial_cmp(&self, other: &InputFocus) -> Option<Ordering>
fn partial_cmp(&self, other: &InputFocus) -> 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 InputFocus
impl Serialize for InputFocus
impl Copy for InputFocus
impl Eq for InputFocus
impl StructuralPartialEq for InputFocus
Auto Trait Implementations§
impl Freeze for InputFocus
impl RefUnwindSafe for InputFocus
impl Send for InputFocus
impl Sync for InputFocus
impl Unpin for InputFocus
impl UnwindSafe for InputFocus
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