pub struct Scroll(/* private fields */);Implementations§
source§impl Scroll
impl Scroll
sourcepub fn destroyed(&self, serial: u32)
pub fn destroyed(&self, serial: u32)
This object has been removed and a client should release all associated resources.
This object will be destroyed by the EIS implementation immmediately after after this event is sent and as such the client must not attempt to use it after that point.
sourcepub fn scroll(&self, x: f32, y: f32)
pub fn scroll(&self, x: f32, y: f32)
See the ei_scroll.scroll request for details.
It is a protocol violation to send this request for a client of an ei_handshake.context_type other than receiver.
sourcepub fn scroll_discrete(&self, x: i32, y: i32)
pub fn scroll_discrete(&self, x: i32, y: i32)
See the ei_scroll.scroll_discrete request for details.
It is a protocol violation to send this request for a client of an ei_handshake.context_type other than receiver.
sourcepub fn scroll_stop(&self, x: u32, y: u32, is_cancel: u32)
pub fn scroll_stop(&self, x: u32, y: u32, is_cancel: u32)
See the ei_scroll.scroll_stop request for details. It is a protocol violation to send this request for a client of an ei_handshake.context_type other than receiver.
Trait Implementations§
impl Eq for Scroll
impl StructuralPartialEq for Scroll
Auto Trait Implementations§
impl Freeze for Scroll
impl RefUnwindSafe for Scroll
impl Send for Scroll
impl Sync for Scroll
impl Unpin for Scroll
impl UnwindSafe for Scroll
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)