Struct webxr_api::util::HitTestList
source · pub struct HitTestList {
tests: Vec<HitTestSource>,
uncommitted_tests: Vec<HitTestSource>,
}
Expand description
Holds on to hit tests
Fields§
§tests: Vec<HitTestSource>
§uncommitted_tests: Vec<HitTestSource>
Implementations§
source§impl HitTestList
impl HitTestList
pub fn request_hit_test(&mut self, source: HitTestSource)
pub fn commit_tests(&mut self) -> Vec<FrameUpdateEvent>
pub fn tests(&self) -> &[HitTestSource]
pub fn cancel_hit_test(&mut self, id: HitTestId)
Trait Implementations§
source§impl Clone for HitTestList
impl Clone for HitTestList
source§fn clone(&self) -> HitTestList
fn clone(&self) -> HitTestList
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HitTestList
impl Debug for HitTestList
source§impl Default for HitTestList
impl Default for HitTestList
source§fn default() -> HitTestList
fn default() -> HitTestList
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HitTestList
impl<'de> Deserialize<'de> for HitTestList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HitTestList
impl RefUnwindSafe for HitTestList
impl Send for HitTestList
impl Sync for HitTestList
impl Unpin for HitTestList
impl UnwindSafe for HitTestList
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)