pub struct PointerButtons(/* private fields */);Expand description
A set of buttons accepted by a TouchArea.
Implementations§
Source§impl PointerButtons
impl PointerButtons
pub fn contains(self, button: PointerButton) -> bool
Trait Implementations§
Source§impl Clone for PointerButtons
impl Clone for PointerButtons
impl Copy for PointerButtons
Source§impl Debug for PointerButtons
impl Debug for PointerButtons
Source§impl Default for PointerButtons
impl Default for PointerButtons
impl Eq for PointerButtons
Source§impl From<PointerButtons> for Value
impl From<PointerButtons> for Value
Source§fn from(value: PointerButtons) -> Self
fn from(value: PointerButtons) -> Self
Converts to this type from the input type.
Source§impl<const N: usize> From<[PointerButton; N]> for PointerButtons
impl<const N: usize> From<[PointerButton; N]> for PointerButtons
Source§fn from(buttons: [PointerButton; N]) -> Self
fn from(buttons: [PointerButton; N]) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PointerButtons
impl PartialEq for PointerButtons
impl StructuralPartialEq for PointerButtons
Auto Trait Implementations§
impl Forget for PointerButtons
impl Freeze for PointerButtons
impl Move 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