pub struct HitCell {
pub widget_id: Option<HitId>,
pub region: HitRegion,
pub data: HitData,
}Expand description
A single hit cell in the grid.
Fields§
§widget_id: Option<HitId>Widget that registered this cell, if any.
region: HitRegionRegion tag for the hit area.
data: HitDataExtra data attached to this hit cell.
Implementations§
Trait Implementations§
impl Copy for HitCell
impl Eq for HitCell
impl StructuralPartialEq for HitCell
Auto Trait Implementations§
impl Freeze for HitCell
impl RefUnwindSafe for HitCell
impl Send for HitCell
impl Sync for HitCell
impl Unpin for HitCell
impl UnwindSafe for HitCell
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