pub enum Axis1d {
Mouse(MouseAxis1d),
Gamepad(GamepadAxis1d),
}
Variants§
Mouse(MouseAxis1d)
Gamepad(GamepadAxis1d)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Axis1d
impl<'de> Deserialize<'de> for Axis1d
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 Ord for Axis1d
impl Ord for Axis1d
Source§impl PartialOrd for Axis1d
impl PartialOrd for Axis1d
impl Copy for Axis1d
impl Eq for Axis1d
impl StructuralPartialEq for Axis1d
Auto Trait Implementations§
impl Freeze for Axis1d
impl RefUnwindSafe for Axis1d
impl Send for Axis1d
impl Sync for Axis1d
impl Unpin for Axis1d
impl UnwindSafe for Axis1d
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