pub struct InteractState {
pub hovered: Option<ElementId>,
pub pressed: Option<ElementId>,
pub captured: Option<ElementId>,
pub focus: Option<ElementId>,
pub cursor: Point,
pub pointer_seen: bool,
}Fields§
§hovered: Option<ElementId>§pressed: Option<ElementId>§captured: Option<ElementId>§focus: Option<ElementId>§cursor: Point§pointer_seen: boolTrait Implementations§
Source§impl Clone for InteractState
impl Clone for InteractState
impl Copy for InteractState
Source§impl Debug for InteractState
impl Debug for InteractState
Source§impl Default for InteractState
impl Default for InteractState
Source§impl PartialEq for InteractState
impl PartialEq for InteractState
impl StructuralPartialEq for InteractState
Auto Trait Implementations§
impl Freeze for InteractState
impl RefUnwindSafe for InteractState
impl Send for InteractState
impl Sync for InteractState
impl Unpin for InteractState
impl UnsafeUnpin for InteractState
impl UnwindSafe for InteractState
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