Enum xcb::x::InputFocus
source · #[repr(u32)]pub enum InputFocus {
None = 0,
PointerRoot = 1,
Parent = 2,
FollowKeyboard = 3,
}
Variants§
None = 0
The focus reverts to XCB_NONE
, so no window will have the input focus.
PointerRoot = 1
The focus reverts to XCB_POINTER_ROOT
respectively. When the focus reverts,
FocusIn and FocusOut events are generated, but the last-focus-change time is
not changed.
Parent = 2
The focus reverts to the parent (or closest viewable ancestor) and the new
revert_to value is XCB_INPUT_FOCUS_NONE
.
FollowKeyboard = 3
NOT YET DOCUMENTED. Only relevant for the xinput extension.
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 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§impl PartialOrd for InputFocus
impl PartialOrd 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
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
)