pub struct GeometryHitTestResult {
pub visual_hit: Ref<Visual>,
pub intersection_result: IntersectionResult,
}Expand description
Returns the results of a hit test that uses a geometry as a hit test parameter.
Fields§
§visual_hit: Ref<Visual>The Visual that is returned from a hit test result.
intersection_result: IntersectionResultThe IntersectionResult value of the hit test.
Implementations§
Source§impl GeometryHitTestResult
impl GeometryHitTestResult
pub fn new( visual_hit: Ref<Visual>, intersection_result: IntersectionResult, ) -> Self
Trait Implementations§
Source§impl Clone for GeometryHitTestResult
impl Clone for GeometryHitTestResult
Source§impl Debug for GeometryHitTestResult
impl Debug for GeometryHitTestResult
impl Eq for GeometryHitTestResult
Source§impl Hash for GeometryHitTestResult
impl Hash for GeometryHitTestResult
Source§impl PartialEq for GeometryHitTestResult
impl PartialEq for GeometryHitTestResult
impl StructuralPartialEq for GeometryHitTestResult
Auto Trait Implementations§
impl !RefUnwindSafe for GeometryHitTestResult
impl !Send for GeometryHitTestResult
impl !Sync for GeometryHitTestResult
impl !UnwindSafe for GeometryHitTestResult
impl Freeze for GeometryHitTestResult
impl Unpin for GeometryHitTestResult
impl UnsafeUnpin for GeometryHitTestResult
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more