pub struct PointerButtons(/* private fields */);Implementations§
Source§impl PointerButtons
impl PointerButtons
pub const NONE: Self
pub const PRIMARY: Self
pub const SECONDARY: Self
pub const AUXILIARY: Self
pub const BACK: Self
pub const FORWARD: Self
pub const fn from_raw(value: u32) -> Self
pub const fn bits(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, buttons: Self) -> bool
Trait Implementations§
Source§impl Clone for PointerButtons
impl Clone for PointerButtons
Source§fn clone(&self) -> PointerButtons
fn clone(&self) -> PointerButtons
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PointerButtons
Source§impl Debug for PointerButtons
impl Debug for PointerButtons
Source§impl Default for PointerButtons
impl Default for PointerButtons
Source§fn default() -> PointerButtons
fn default() -> PointerButtons
Returns the “default value” for a type. Read more
impl Eq for PointerButtons
Source§impl PartialEq for PointerButtons
impl PartialEq for PointerButtons
impl StructuralPartialEq for PointerButtons
Auto Trait Implementations§
impl Freeze for PointerButtons
impl RefUnwindSafe for PointerButtons
impl Send for PointerButtons
impl Sync for PointerButtons
impl Unpin for PointerButtons
impl UnsafeUnpin for PointerButtons
impl UnwindSafe for PointerButtons
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