pub struct InteractionEntry {
pub id: InteractionId,
pub area: WidgetArea,
pub z_index: i16,
pub flags: InteractionFlags,
}Expand description
An entry registered for hit testing.
Fields§
§id: InteractionId§area: WidgetArea§z_index: i16Higher z-index wins. If equal, “last registered wins”.
flags: InteractionFlagsImplementations§
Source§impl InteractionEntry
impl InteractionEntry
pub const fn new(id: InteractionId, area: WidgetArea) -> Self
pub const fn with_z_index(self, z_index: i16) -> Self
pub const fn with_flags(self, flags: InteractionFlags) -> Self
Trait Implementations§
Source§impl Clone for InteractionEntry
impl Clone for InteractionEntry
Source§fn clone(&self) -> InteractionEntry
fn clone(&self) -> InteractionEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InteractionEntry
impl Debug for InteractionEntry
Source§impl PartialEq for InteractionEntry
impl PartialEq for InteractionEntry
impl Copy for InteractionEntry
impl Eq for InteractionEntry
impl StructuralPartialEq for InteractionEntry
Auto Trait Implementations§
impl Freeze for InteractionEntry
impl RefUnwindSafe for InteractionEntry
impl Send for InteractionEntry
impl Sync for InteractionEntry
impl Unpin for InteractionEntry
impl UnsafeUnpin for InteractionEntry
impl UnwindSafe for InteractionEntry
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