pub struct XboxSticks {
pub left_x: i16,
pub left_y: i16,
pub right_x: i16,
pub right_y: i16,
}Expand description
Stick positions centered around zero.
Fields§
§left_x: i16§left_y: i16§right_x: i16§right_y: i16Trait Implementations§
Source§impl Clone for XboxSticks
impl Clone for XboxSticks
Source§fn clone(&self) -> XboxSticks
fn clone(&self) -> XboxSticks
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for XboxSticks
Source§impl Debug for XboxSticks
impl Debug for XboxSticks
Source§impl Default for XboxSticks
impl Default for XboxSticks
Source§fn default() -> XboxSticks
fn default() -> XboxSticks
Returns the “default value” for a type. Read more
impl Eq for XboxSticks
Source§impl PartialEq for XboxSticks
impl PartialEq for XboxSticks
impl StructuralPartialEq for XboxSticks
Auto Trait Implementations§
impl Freeze for XboxSticks
impl RefUnwindSafe for XboxSticks
impl Send for XboxSticks
impl Sync for XboxSticks
impl Unpin for XboxSticks
impl UnsafeUnpin for XboxSticks
impl UnwindSafe for XboxSticks
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