Struct webrender_api::HitTesterRequest
source · 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