pub enum DeviceRole {
Head,
Eyes,
Left,
Right,
Gamepad,
HandTrackingLeft,
HandTrackingRight,
}Variants§
Trait Implementations§
Source§impl Clone for DeviceRole
impl Clone for DeviceRole
Source§fn clone(&self) -> DeviceRole
fn clone(&self) -> DeviceRole
Returns a duplicate 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 DeviceRole
impl Debug for DeviceRole
Source§impl From<DeviceRole> for &'static str
impl From<DeviceRole> for &'static str
Source§fn from(value: DeviceRole) -> Self
fn from(value: DeviceRole) -> Self
Converts to this type from the input type.
impl Copy for DeviceRole
Auto Trait Implementations§
impl Freeze for DeviceRole
impl RefUnwindSafe for DeviceRole
impl Send for DeviceRole
impl Sync for DeviceRole
impl Unpin for DeviceRole
impl UnwindSafe for DeviceRole
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