Enum webxr_api::MockButtonType
source · pub enum MockButtonType {
Grip,
Touchpad,
Thumbstick,
OptionalButton,
OptionalThumbstick,
}
Variants§
Trait Implementations§
source§impl Clone for MockButtonType
impl Clone for MockButtonType
source§fn clone(&self) -> MockButtonType
fn clone(&self) -> MockButtonType
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 MockButtonType
impl Debug for MockButtonType
source§impl<'de> Deserialize<'de> for MockButtonType
impl<'de> Deserialize<'de> for MockButtonType
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 PartialEq for MockButtonType
impl PartialEq for MockButtonType
source§fn eq(&self, other: &MockButtonType) -> bool
fn eq(&self, other: &MockButtonType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MockButtonType
impl Serialize for MockButtonType
impl StructuralPartialEq for MockButtonType
Auto Trait Implementations§
impl Freeze for MockButtonType
impl RefUnwindSafe for MockButtonType
impl Send for MockButtonType
impl Sync for MockButtonType
impl Unpin for MockButtonType
impl UnwindSafe for MockButtonType
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