pub struct HitResult {
pub node_id: usize,
pub x: f32,
pub y: f32,
}Fields§
§node_id: usizeThe node_id of the node identified as the hit target
x: f32The x coordinate of the hit within the hit target’s border-box
y: f32The y coordinate of the hit within the hit target’s border-box
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HitResult
impl RefUnwindSafe for HitResult
impl Send for HitResult
impl Sync for HitResult
impl Unpin for HitResult
impl UnwindSafe for HitResult
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