pub struct Response {
pub active: bool,
pub activated: bool,
pub deactivated: bool,
pub hovered: bool,
pub clicked: bool,
pub contact: Option<ContactId>,
}Expand description
the response of Interact
Fields§
§active: bool§activated: bool§deactivated: bool§hovered: bool§clicked: bool§contact: Option<ContactId>the contact for the active press or completed click
Trait Implementations§
impl Copy for Response
impl StructuralPartialEq for Response
Auto Trait Implementations§
impl Forget for Response
impl Freeze for Response
impl Move for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnsafeUnpin for Responsewhere
NonZeroU32Inner: UnsafeUnpin,
impl UnwindSafe for Response
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