pub struct Pre {Show 13 fields
pub random_seed: u32,
pub state: u16,
pub position: Position,
pub direction: f32,
pub joystick: Position,
pub cstick: Position,
pub triggers: f32,
pub buttons: u32,
pub buttons_physical: u16,
pub triggers_physical: TriggersPhysical,
pub raw_analog_x: Option<i8>,
pub percent: Option<f32>,
pub raw_analog_y: Option<i8>,
}
Fields§
§random_seed: u32
§state: u16
§position: Position
§direction: f32
§joystick: Position
§cstick: Position
§triggers: f32
§triggers_physical: TriggersPhysical
§raw_analog_x: Option<i8>
§percent: Option<f32>
§raw_analog_y: Option<i8>
Trait Implementations§
impl Copy for Pre
impl StructuralPartialEq for Pre
Auto Trait Implementations§
impl Freeze for Pre
impl RefUnwindSafe for Pre
impl Send for Pre
impl Sync for Pre
impl Unpin for Pre
impl UnwindSafe for Pre
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