pub struct Joy {
pub header: Header,
pub axes: Vec<f32>,
pub buttons: Vec<i32>,
}
Fields§
§header: Header
§axes: Vec<f32>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Joy
impl<'de> Deserialize<'de> for Joy
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
impl Message for Joy
impl StructuralPartialEq for Joy
Auto Trait Implementations§
impl Freeze for Joy
impl RefUnwindSafe for Joy
impl Send for Joy
impl Sync for Joy
impl Unpin for Joy
impl UnwindSafe for Joy
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