Struct xcb::xinput::SetDeviceFocus
source · [−]pub struct SetDeviceFocus {
pub focus: Window,
pub time: Timestamp,
pub revert_to: InputFocus,
pub device_id: u8,
}
Expand description
The SetDeviceFocus
request.
This request has no reply.
Associated cookie types are VoidCookie and VoidCookieChecked.
Fields
focus: Window
time: Timestamp
revert_to: InputFocus
device_id: u8
Trait Implementations
sourceimpl Clone for SetDeviceFocus
impl Clone for SetDeviceFocus
sourcefn clone(&self) -> SetDeviceFocus
fn clone(&self) -> SetDeviceFocus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SetDeviceFocus
impl Debug for SetDeviceFocus
sourceimpl RawRequest for SetDeviceFocus
impl RawRequest for SetDeviceFocus
sourcefn raw_request(&self, c: &Connection, checked: bool) -> u64
fn raw_request(&self, c: &Connection, checked: bool) -> u64
Actual implementation of the request sending Read more
sourceimpl Request for SetDeviceFocus
impl Request for SetDeviceFocus
type Cookie = VoidCookie
type Cookie = VoidCookie
The default cookie associated to this request.
impl RequestWithoutReply for SetDeviceFocus
Auto Trait Implementations
impl RefUnwindSafe for SetDeviceFocus
impl Send for SetDeviceFocus
impl Sync for SetDeviceFocus
impl Unpin for SetDeviceFocus
impl UnwindSafe for SetDeviceFocus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more