pub struct XboxControllerState {
pub buttons: XboxButtonState,
pub sticks: XboxSticks,
pub triggers: XboxTriggers,
}Expand description
The controller state represented by one BLE HID input notification.
Fields§
§sticks: XboxSticks§triggers: XboxTriggersTrait Implementations§
Source§impl Clone for XboxControllerState
impl Clone for XboxControllerState
Source§fn clone(&self) -> XboxControllerState
fn clone(&self) -> XboxControllerState
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 XboxControllerState
Source§impl Debug for XboxControllerState
impl Debug for XboxControllerState
Source§impl Default for XboxControllerState
impl Default for XboxControllerState
Source§fn default() -> XboxControllerState
fn default() -> XboxControllerState
Returns the “default value” for a type. Read more
impl Eq for XboxControllerState
Source§impl PartialEq for XboxControllerState
impl PartialEq for XboxControllerState
impl StructuralPartialEq for XboxControllerState
Auto Trait Implementations§
impl Freeze for XboxControllerState
impl RefUnwindSafe for XboxControllerState
impl Send for XboxControllerState
impl Sync for XboxControllerState
impl Unpin for XboxControllerState
impl UnsafeUnpin for XboxControllerState
impl UnwindSafe for XboxControllerState
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