pub struct Mouse { /* private fields */ }Implementations§
Source§impl Mouse
impl Mouse
pub fn parse(bytes: &[u8]) -> (usize, Self)
pub fn options(&self) -> &MouseOptions
pub fn options_mut(&mut self) -> &mut MouseOptions
pub fn position_x(&self) -> Option<u32>
pub fn position_x_mut(&mut self) -> &mut Option<u32>
pub fn position_y(&self) -> Option<u32>
pub fn position_y_mut(&mut self) -> &mut Option<u32>
pub fn wheel_delta(&self) -> Option<u32>
pub fn wheel_delta_mut(&mut self) -> &mut Option<u32>
Auto Trait Implementations§
impl Freeze for Mouse
impl RefUnwindSafe for Mouse
impl Send for Mouse
impl Sync for Mouse
impl Unpin for Mouse
impl UnwindSafe for Mouse
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