Enum ovr_overlay_sys::EVRButtonId
source · [−]#[repr(u32)]
pub enum EVRButtonId {
Show 15 variants
k_EButton_System,
k_EButton_ApplicationMenu,
k_EButton_Grip,
k_EButton_DPad_Left,
k_EButton_DPad_Up,
k_EButton_DPad_Right,
k_EButton_DPad_Down,
k_EButton_A,
k_EButton_ProximitySensor,
k_EButton_Axis0,
k_EButton_Axis1,
k_EButton_Axis2,
k_EButton_Axis3,
k_EButton_Axis4,
k_EButton_Max,
}
Expand description
VR controller button and axis IDs
Variants
k_EButton_System
k_EButton_ApplicationMenu
k_EButton_Grip
k_EButton_DPad_Left
k_EButton_DPad_Up
k_EButton_DPad_Right
k_EButton_DPad_Down
k_EButton_A
k_EButton_ProximitySensor
k_EButton_Axis0
k_EButton_Axis1
k_EButton_Axis2
k_EButton_Axis3
k_EButton_Axis4
k_EButton_Max
Trait Implementations
sourceimpl Clone for EVRButtonId
impl Clone for EVRButtonId
sourcefn clone(&self) -> EVRButtonId
fn clone(&self) -> EVRButtonId
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 EVRButtonId
impl Debug for EVRButtonId
sourceimpl ExternType for EVRButtonId
impl ExternType for EVRButtonId
type Id = (v, r, (), E, V, R, B, u, t, t, o, n, I, d)
type Id = (v, r, (), E, V, R, B, u, t, t, o, n, I, d)
A type-level representation of the type’s C++ namespace and type name. Read more
type Kind = Trivial
type Kind = Trivial
Either cxx::kind::Opaque
or cxx::kind::Trivial
. Read more
sourceimpl Hash for EVRButtonId
impl Hash for EVRButtonId
sourceimpl PartialEq<EVRButtonId> for EVRButtonId
impl PartialEq<EVRButtonId> for EVRButtonId
impl Copy for EVRButtonId
impl Eq for EVRButtonId
impl StructuralEq for EVRButtonId
impl StructuralPartialEq for EVRButtonId
impl UniquePtrTarget for EVRButtonId
impl VectorElement for EVRButtonId
impl WeakPtrTarget for EVRButtonId
Auto Trait Implementations
impl RefUnwindSafe for EVRButtonId
impl Send for EVRButtonId
impl Sync for EVRButtonId
impl Unpin for EVRButtonId
impl UnwindSafe for EVRButtonId
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more