Struct ps2::MousePacket3
source · pub struct MousePacket3 { /* private fields */ }
Implementations§
source§impl MousePacket3
impl MousePacket3
source§impl MousePacket3
impl MousePacket3
sourcepub const fn into_bytes(self) -> [u8; 4]
pub const fn into_bytes(self) -> [u8; 4]
sourcepub const fn from_bytes(bytes: [u8; 4]) -> Self
pub const fn from_bytes(bytes: [u8; 4]) -> Self
Converts the given bytes directly into the bitfield struct.
source§impl MousePacket3
impl MousePacket3
sourcepub fn scroll_movement(&self) -> i8
pub fn scroll_movement(&self) -> i8
often called z_movement
, renamed to disambiguate
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MousePacket3
impl Send for MousePacket3
impl Sync for MousePacket3
impl Unpin for MousePacket3
impl UnwindSafe for MousePacket3
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