Skip to main content

BoxHitTest

Type Alias BoxHitTest 

Source
pub type BoxHitTest<'r> = dyn FnOnce(&mut BoxHitTestResult<'r>, Offset) -> bool;
Expand description

Method signature for hit testing a RenderBox.

Used by BoxHitTestResult::add_with_paint_transform to hit test children of a RenderBox.