#[repr(transparent)]pub struct GameControllerSwitchPosition(pub i32);
Expand description
Required features: "Gaming_Input"
Tuple Fields
0: i32
Implementations
impl GameControllerSwitchPosition
impl GameControllerSwitchPosition
pub const Center: Self = Self(0i32)
pub const Up: Self = Self(1i32)
pub const UpRight: Self = Self(2i32)
pub const Right: Self = Self(3i32)
pub const DownRight: Self = Self(4i32)
pub const Down: Self = Self(5i32)
pub const DownLeft: Self = Self(6i32)
pub const Left: Self = Self(7i32)
pub const UpLeft: Self = Self(8i32)
Trait Implementations
impl Clone for GameControllerSwitchPosition
impl Clone for GameControllerSwitchPosition
impl Copy for GameControllerSwitchPosition
Auto Trait Implementations
impl RefUnwindSafe for GameControllerSwitchPosition
impl Send for GameControllerSwitchPosition
impl Sync for GameControllerSwitchPosition
impl Unpin for GameControllerSwitchPosition
impl UnwindSafe for GameControllerSwitchPosition
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