Enum web_sys::XrHandedness
source · [−]pub enum XrHandedness {
None,
Left,
Right,
// some variants omitted
}
Expand description
The XrHandedness
enum.
This API requires the following crate features to be activated: XrHandedness
This API is unstable and requires --cfg=web_sys_unstable_apis
to be activated, as
described in the wasm-bindgen
guide
Variants
None
Left
Right
Implementations
sourceimpl XrHandedness
impl XrHandedness
pub fn from_js_value(obj: &JsValue) -> Option<XrHandedness>
Trait Implementations
sourceimpl Clone for XrHandedness
impl Clone for XrHandedness
sourcefn clone(&self) -> XrHandedness
fn clone(&self) -> XrHandedness
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 XrHandedness
impl Debug for XrHandedness
sourceimpl From<XrHandedness> for JsValue
impl From<XrHandedness> for JsValue
sourcefn from(obj: XrHandedness) -> JsValue
fn from(obj: XrHandedness) -> JsValue
Converts to this type from the input type.
sourceimpl FromWasmAbi for XrHandedness
impl FromWasmAbi for XrHandedness
sourceimpl IntoWasmAbi for XrHandedness
impl IntoWasmAbi for XrHandedness
sourceimpl OptionFromWasmAbi for XrHandedness
impl OptionFromWasmAbi for XrHandedness
sourceimpl OptionIntoWasmAbi for XrHandedness
impl OptionIntoWasmAbi for XrHandedness
sourceimpl PartialEq<XrHandedness> for XrHandedness
impl PartialEq<XrHandedness> for XrHandedness
sourceimpl WasmDescribe for XrHandedness
impl WasmDescribe for XrHandedness
impl Copy for XrHandedness
impl Eq for XrHandedness
impl StructuralEq for XrHandedness
impl StructuralPartialEq for XrHandedness
Auto Trait Implementations
impl RefUnwindSafe for XrHandedness
impl Send for XrHandedness
impl Sync for XrHandedness
impl Unpin for XrHandedness
impl UnwindSafe for XrHandedness
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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 T where
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for T where
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