pub struct ClickTicket {
pub window_id: i32,
pub action: i16,
}Expand description
A click that was sent: match it with TickEvents::inventory’s clicks on a later tick
(window id and action number, as the server’s confirm carries them).
Fields§
§window_id: i32Window id the click was sent for.
action: i16Its action number.
Implementations§
Source§impl ClickTicket
impl ClickTicket
Sourcepub fn matches(&self, r: &ClickResult) -> bool
pub fn matches(&self, r: &ClickResult) -> bool
Whether r is the result of this click.
Trait Implementations§
Source§impl Clone for ClickTicket
impl Clone for ClickTicket
impl Copy for ClickTicket
Source§impl Debug for ClickTicket
impl Debug for ClickTicket
impl Eq for ClickTicket
Source§impl Hash for ClickTicket
impl Hash for ClickTicket
Source§impl PartialEq for ClickTicket
impl PartialEq for ClickTicket
impl StructuralPartialEq for ClickTicket
Auto Trait Implementations§
impl Freeze for ClickTicket
impl RefUnwindSafe for ClickTicket
impl Send for ClickTicket
impl Sync for ClickTicket
impl Unpin for ClickTicket
impl UnsafeUnpin for ClickTicket
impl UnwindSafe for ClickTicket
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