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: WindowThe new owner of the selection.
The special value XCB_NONE means that the selection will have no owner.
selection: AtomThe selection.
time: TimestampTimestamp 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