#[repr(C)]pub struct nk_mouse {
pub buttons: [nk_mouse_button; 4],
pub pos: nk_vec2,
pub prev: nk_vec2,
pub delta: nk_vec2,
pub scroll_delta: nk_vec2,
pub grab: c_uchar,
pub grabbed: c_uchar,
pub ungrab: c_uchar,
}Fields§
§pos: nk_vec2§prev: nk_vec2§delta: nk_vec2§scroll_delta: nk_vec2§grab: c_uchar§grabbed: c_uchar§ungrab: c_ucharTrait Implementations§
impl Copy for nk_mouse
Auto Trait Implementations§
impl Freeze for nk_mouse
impl RefUnwindSafe for nk_mouse
impl Send for nk_mouse
impl Sync for nk_mouse
impl Unpin for nk_mouse
impl UnwindSafe for nk_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