pub struct Hat { /* private fields */ }
Expand description
Current state of an enabled device hat switch.
A vJoy hat switch is either a 4-way discrete switch or a continuous switch. Continuous switches feature a range of 360° with a 1/100° resolution.
Implementations§
Trait Implementations§
Source§impl Ord for Hat
impl Ord for Hat
Source§impl PartialOrd for Hat
impl PartialOrd for Hat
impl Copy for Hat
impl Eq for Hat
impl StructuralPartialEq for Hat
Auto Trait Implementations§
impl Freeze for Hat
impl RefUnwindSafe for Hat
impl Send for Hat
impl Sync for Hat
impl Unpin for Hat
impl UnwindSafe for Hat
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