pub struct GeometryCompositionHitTester;Expand description
Hit testing with a geometry.
Trait Implementations§
Source§impl ICompositionHitTester for GeometryCompositionHitTester
impl ICompositionHitTester for GeometryCompositionHitTester
type Input = Ref<Geometry>
fn transform(input: &Ref<Geometry>, matrix: Matrix) -> Ref<Geometry>
fn hit_test( visual: &CompositionVisual, input: &Ref<Geometry>, ) -> IntersectionResult
fn transformed_sub_tree_bounds_match( bounds: LtrbRect, input: &Ref<Geometry>, ) -> bool
fn clipped_bounds_match( visual: &CompositionVisual, input: &Ref<Geometry>, ) -> bool
fn clip_matches(clip: &dyn IGeometryImpl, input: &Ref<Geometry>) -> bool
Auto Trait Implementations§
impl Freeze for GeometryCompositionHitTester
impl RefUnwindSafe for GeometryCompositionHitTester
impl Send for GeometryCompositionHitTester
impl Sync for GeometryCompositionHitTester
impl Unpin for GeometryCompositionHitTester
impl UnsafeUnpin for GeometryCompositionHitTester
impl UnwindSafe for GeometryCompositionHitTester
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
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