pub struct HitTesterRequest { /* private fields */ }
Expand description
A hit tester requested to the render backend thread but not necessarily ready yet.
The request should be resolved as late as possible to reduce the likelihood of blocking.
Implementations§
Source§impl HitTesterRequest
impl HitTesterRequest
Sourcepub fn resolve(self) -> Arc<dyn ApiHitTester>
pub fn resolve(self) -> Arc<dyn ApiHitTester>
Block until the hit tester is available and return it, consuming teh request.
Auto Trait Implementations§
impl Freeze for HitTesterRequest
impl RefUnwindSafe for HitTesterRequest
impl Send for HitTesterRequest
impl Sync for HitTesterRequest
impl Unpin for HitTesterRequest
impl UnwindSafe for HitTesterRequest
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