Struct crankstart_sys::PDButtons
source · [−]#[repr(transparent)]pub struct PDButtons(pub c_uchar);
Tuple Fields
0: c_uchar
Implementations
sourceimpl PDButtons
impl PDButtons
pub const kButtonLeft: PDButtons = PDButtons(1)
sourceimpl PDButtons
impl PDButtons
pub const kButtonRight: PDButtons = PDButtons(2)
sourceimpl PDButtons
impl PDButtons
pub const kButtonDown: PDButtons = PDButtons(8)
Trait Implementations
sourceimpl BitAndAssign<PDButtons> for PDButtons
impl BitAndAssign<PDButtons> for PDButtons
sourcefn bitand_assign(&mut self, rhs: PDButtons)
fn bitand_assign(&mut self, rhs: PDButtons)
Performs the &=
operation. Read more
sourceimpl BitOrAssign<PDButtons> for PDButtons
impl BitOrAssign<PDButtons> for PDButtons
sourcefn bitor_assign(&mut self, rhs: PDButtons)
fn bitor_assign(&mut self, rhs: PDButtons)
Performs the |=
operation. Read more
impl Copy for PDButtons
impl Eq for PDButtons
impl StructuralEq for PDButtons
impl StructuralPartialEq for PDButtons
Auto Trait Implementations
impl RefUnwindSafe for PDButtons
impl Send for PDButtons
impl Sync for PDButtons
impl Unpin for PDButtons
impl UnwindSafe for PDButtons
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more