pub struct SelectionEvent { /* private fields */ }Implementations§
Source§impl SelectionEvent
impl SelectionEvent
pub fn selection(&self) -> Atom
pub fn target(&self) -> Atom
pub fn property(&self) -> Atom
pub fn time(&self) -> Time
pub fn new( kind: EventType, serial: c_ulong, display: &dyn GenericDisplay, sender_window: &Window, fse: bool, selection: Atom, target: Atom, property: Atom, time: Time, ) -> Result<Self, FlutterbugError>
Trait Implementations§
Source§impl Clone for SelectionEvent
impl Clone for SelectionEvent
Source§fn clone(&self) -> SelectionEvent
fn clone(&self) -> SelectionEvent
Returns a duplicate 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 SelectionEvent
impl Debug for SelectionEvent
Source§impl DerivesAnEvent for SelectionEvent
impl DerivesAnEvent for SelectionEvent
Source§impl DerivesEvent<XSelectionEvent> for SelectionEvent
impl DerivesEvent<XSelectionEvent> for SelectionEvent
Source§fn from_evstruct(ev: XSelectionEvent) -> Result<Self, FlutterbugError>
fn from_evstruct(ev: XSelectionEvent) -> Result<Self, FlutterbugError>
Derive this item from the native struct.
Source§fn inner(&self) -> Result<XSelectionEvent, FlutterbugError>
fn inner(&self) -> Result<XSelectionEvent, FlutterbugError>
Get the raw inner event.
Auto Trait Implementations§
impl Freeze for SelectionEvent
impl RefUnwindSafe for SelectionEvent
impl !Send for SelectionEvent
impl !Sync for SelectionEvent
impl Unpin for SelectionEvent
impl UnsafeUnpin for SelectionEvent
impl UnwindSafe for SelectionEvent
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