Struct webxr_api::hittest::HitTestSource
source · pub struct HitTestSource {
pub id: HitTestId,
pub space: Space,
pub ray: Ray<ApiSpace>,
pub types: EntityTypes,
}
Expand description
https://immersive-web.github.io/hit-test/#dictdef-xrhittestoptionsinit
Fields§
§id: HitTestId
§space: Space
§ray: Ray<ApiSpace>
§types: EntityTypes
Trait Implementations§
source§impl Clone for HitTestSource
impl Clone for HitTestSource
source§fn clone(&self) -> HitTestSource
fn clone(&self) -> HitTestSource
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 HitTestSource
impl Debug for HitTestSource
source§impl<'de> Deserialize<'de> for HitTestSource
impl<'de> Deserialize<'de> for HitTestSource
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
source§impl Serialize for HitTestSource
impl Serialize for HitTestSource
impl Copy for HitTestSource
Auto Trait Implementations§
impl Freeze for HitTestSource
impl RefUnwindSafe for HitTestSource
impl Send for HitTestSource
impl Sync for HitTestSource
impl Unpin for HitTestSource
impl UnwindSafe for HitTestSource
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