Struct xcb::x::SetSelectionOwner
source · pub struct SetSelectionOwner {
pub owner: Window,
pub selection: Atom,
pub time: Timestamp,
}
Expand description
Sets the owner of a selection
Makes window
the owner of the selection selection
and updates the
last-change time of the specified selection.
TODO: briefly explain what a selection is.
This request has no reply.
Associated cookie types are VoidCookie and VoidCookieChecked.
Fields§
§owner: Window
The new owner of the selection.
The special value XCB_NONE
means that the selection will have no owner.
selection: Atom
The selection.
time: Timestamp
Timestamp to avoid race conditions when running X over the network.
The selection will not be changed if time
is earlier than the current
last-change time of the selection
or is later than the current X server time.
Otherwise, the last-change time is set to the specified time.
The special value XCB_CURRENT_TIME
will be replaced with the current server
time.
Trait Implementations§
source§impl Clone for SetSelectionOwner
impl Clone for SetSelectionOwner
source§fn clone(&self) -> SetSelectionOwner
fn clone(&self) -> SetSelectionOwner
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 SetSelectionOwner
impl Debug for SetSelectionOwner
source§impl RawRequest for SetSelectionOwner
impl RawRequest for SetSelectionOwner
source§fn 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
source§impl Request for SetSelectionOwner
impl Request for SetSelectionOwner
impl RequestWithoutReply for SetSelectionOwner
Auto Trait Implementations§
impl Freeze for SetSelectionOwner
impl RefUnwindSafe for SetSelectionOwner
impl Send for SetSelectionOwner
impl Sync for SetSelectionOwner
impl Unpin for SetSelectionOwner
impl UnwindSafe for SetSelectionOwner
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
)