Enum web_sys::XrTargetRayMode
source · [−]pub enum XrTargetRayMode {
Gaze,
TrackedPointer,
Screen,
// some variants omitted
}
Expand description
The XrTargetRayMode
enum.
This API requires the following crate features to be activated: XrTargetRayMode
This API is unstable and requires --cfg=web_sys_unstable_apis
to be activated, as
described in the wasm-bindgen
guide
Variants
Gaze
TrackedPointer
Screen
Implementations
sourceimpl XrTargetRayMode
impl XrTargetRayMode
pub fn from_js_value(obj: &JsValue) -> Option<XrTargetRayMode>
Trait Implementations
sourceimpl Clone for XrTargetRayMode
impl Clone for XrTargetRayMode
sourcefn clone(&self) -> XrTargetRayMode
fn clone(&self) -> XrTargetRayMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for XrTargetRayMode
impl Debug for XrTargetRayMode
sourceimpl From<XrTargetRayMode> for JsValue
impl From<XrTargetRayMode> for JsValue
sourcefn from(obj: XrTargetRayMode) -> JsValue
fn from(obj: XrTargetRayMode) -> JsValue
Converts to this type from the input type.
sourceimpl FromWasmAbi for XrTargetRayMode
impl FromWasmAbi for XrTargetRayMode
sourceimpl IntoWasmAbi for XrTargetRayMode
impl IntoWasmAbi for XrTargetRayMode
sourceimpl OptionFromWasmAbi for XrTargetRayMode
impl OptionFromWasmAbi for XrTargetRayMode
sourceimpl OptionIntoWasmAbi for XrTargetRayMode
impl OptionIntoWasmAbi for XrTargetRayMode
sourceimpl PartialEq<XrTargetRayMode> for XrTargetRayMode
impl PartialEq<XrTargetRayMode> for XrTargetRayMode
sourcefn eq(&self, other: &XrTargetRayMode) -> bool
fn eq(&self, other: &XrTargetRayMode) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl WasmDescribe for XrTargetRayMode
impl WasmDescribe for XrTargetRayMode
impl Copy for XrTargetRayMode
impl Eq for XrTargetRayMode
impl StructuralEq for XrTargetRayMode
impl StructuralPartialEq for XrTargetRayMode
Auto Trait Implementations
impl RefUnwindSafe for XrTargetRayMode
impl Send for XrTargetRayMode
impl Sync for XrTargetRayMode
impl Unpin for XrTargetRayMode
impl UnwindSafe for XrTargetRayMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
sourcefn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more