pub struct Button(/* private fields */);Implementations§
source§impl Button
impl Button
sourcepub fn destroyed(&self, serial: u32)
pub fn destroyed(&self, serial: u32)
This pointer has been removed and a client should release all associated resources.
This ei_scroll 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.
See the ei_scroll.button request for details.
It is a protocol violation to send this request for a client of an ei_handshake.context_type other than receiver.
It is an EIS implementation bug to send more than one button request for the same button within the same ei_device.frame.
Trait Implementations§
impl Eq for Button
impl StructuralPartialEq for Button
Auto Trait Implementations§
impl Freeze for Button
impl RefUnwindSafe for Button
impl Send for Button
impl Sync for Button
impl Unpin for Button
impl UnwindSafe for Button
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)