Struct meru_interface::key_assign::GamepadAxis
source · [−]pub struct GamepadAxis {
pub gamepad: Gamepad,
pub axis_type: GamepadAxisType,
}
Fields
gamepad: Gamepad
axis_type: GamepadAxisType
Implementations
sourceimpl GamepadAxis
impl GamepadAxis
pub fn new(gamepad: Gamepad, axis_type: GamepadAxisType) -> Self
Trait Implementations
sourceimpl Clone for GamepadAxis
impl Clone for GamepadAxis
sourcefn clone(&self) -> GamepadAxis
fn clone(&self) -> GamepadAxis
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GamepadAxis
impl Debug for GamepadAxis
sourceimpl<'de> Deserialize<'de> for GamepadAxis
impl<'de> Deserialize<'de> for GamepadAxis
sourcefn 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
sourceimpl Display for GamepadAxis
impl Display for GamepadAxis
sourceimpl PartialEq<GamepadAxis> for GamepadAxis
impl PartialEq<GamepadAxis> for GamepadAxis
sourcefn eq(&self, other: &GamepadAxis) -> bool
fn eq(&self, other: &GamepadAxis) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for GamepadAxis
impl Serialize for GamepadAxis
impl Copy for GamepadAxis
impl Eq for GamepadAxis
impl StructuralEq for GamepadAxis
impl StructuralPartialEq for GamepadAxis
Auto Trait Implementations
impl RefUnwindSafe for GamepadAxis
impl Send for GamepadAxis
impl Sync for GamepadAxis
impl Unpin for GamepadAxis
impl UnwindSafe for GamepadAxis
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more