pub struct HitId(pub u32);Expand description
Identifier for a clickable region in the hit grid.
Widgets register hit regions with unique IDs to enable mouse interaction.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
impl Copy for HitId
impl Eq for HitId
impl StructuralPartialEq for HitId
Auto Trait Implementations§
impl Freeze for HitId
impl RefUnwindSafe for HitId
impl Send for HitId
impl Sync for HitId
impl Unpin for HitId
impl UnwindSafe for HitId
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