pub struct PointerKey {
pub kind: PointerType,
pub id: u32,
}Expand description
Identity of one pointer: its device kind plus the host’s pointer id.
Fields§
§kind: PointerType§id: u32Implementations§
Source§impl PointerKey
impl PointerKey
Trait Implementations§
Source§impl Clone for PointerKey
impl Clone for PointerKey
impl Copy for PointerKey
Source§impl Debug for PointerKey
impl Debug for PointerKey
Source§impl Default for PointerKey
impl Default for PointerKey
impl Eq for PointerKey
Source§impl Hash for PointerKey
impl Hash for PointerKey
Source§impl PartialEq for PointerKey
impl PartialEq for PointerKey
impl StructuralPartialEq for PointerKey
Auto Trait Implementations§
impl Forget for PointerKey
impl Freeze for PointerKey
impl Move for PointerKey
impl RefUnwindSafe for PointerKey
impl Send for PointerKey
impl Sync for PointerKey
impl Unpin for PointerKey
impl UnsafeUnpin for PointerKey
impl UnwindSafe for PointerKey
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