pub struct GamepadAxis {
pub gamepad: Gamepad,
pub axis_type: GamepadAxisType,
}
Fields§
§gamepad: Gamepad
§axis_type: GamepadAxisType
Implementations§
Source§impl GamepadAxis
impl GamepadAxis
pub fn new(gamepad: Gamepad, axis_type: GamepadAxisType) -> Self
Trait Implementations§
Source§impl Clone for GamepadAxis
impl Clone for GamepadAxis
Source§fn clone(&self) -> GamepadAxis
fn clone(&self) -> GamepadAxis
Returns a copy 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 GamepadAxis
impl Debug for GamepadAxis
Source§impl<'de> Deserialize<'de> for GamepadAxis
impl<'de> Deserialize<'de> for GamepadAxis
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
Source§impl Display for GamepadAxis
impl Display for GamepadAxis
Source§impl PartialEq for GamepadAxis
impl PartialEq for GamepadAxis
Source§impl Serialize for GamepadAxis
impl Serialize for GamepadAxis
impl Copy for GamepadAxis
impl Eq for GamepadAxis
impl StructuralPartialEq for GamepadAxis
Auto Trait Implementations§
impl Freeze for GamepadAxis
impl RefUnwindSafe for GamepadAxis
impl Send for GamepadAxis
impl Sync for GamepadAxis
impl Unpin for GamepadAxis
impl UnwindSafe for GamepadAxis
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