#[repr(transparent)]pub struct Peripherals(pub i32);Tuple Fields§
§0: i32Implementations§
Source§impl PDPeripherals
impl PDPeripherals
pub const kNone: PDPeripherals
Source§impl PDPeripherals
impl PDPeripherals
pub const kAccelerometer: PDPeripherals
Source§impl PDPeripherals
impl PDPeripherals
pub const kAllPeripherals: PDPeripherals
Trait Implementations§
Source§impl BitAnd for PDPeripherals
impl BitAnd for PDPeripherals
Source§type Output = PDPeripherals
type Output = PDPeripherals
The resulting type after applying the
& operator.Source§fn bitand(self, other: PDPeripherals) -> PDPeripherals
fn bitand(self, other: PDPeripherals) -> PDPeripherals
Performs the
& operation. Read moreSource§impl BitAndAssign for PDPeripherals
impl BitAndAssign for PDPeripherals
Source§fn bitand_assign(&mut self, rhs: PDPeripherals)
fn bitand_assign(&mut self, rhs: PDPeripherals)
Performs the
&= operation. Read moreSource§impl BitOr for PDPeripherals
impl BitOr for PDPeripherals
Source§type Output = PDPeripherals
type Output = PDPeripherals
The resulting type after applying the
| operator.Source§fn bitor(self, other: PDPeripherals) -> PDPeripherals
fn bitor(self, other: PDPeripherals) -> PDPeripherals
Performs the
| operation. Read moreSource§impl BitOrAssign for PDPeripherals
impl BitOrAssign for PDPeripherals
Source§fn bitor_assign(&mut self, rhs: PDPeripherals)
fn bitor_assign(&mut self, rhs: PDPeripherals)
Performs the
|= operation. Read moreSource§impl Clone for PDPeripherals
impl Clone for PDPeripherals
Source§fn clone(&self) -> PDPeripherals
fn clone(&self) -> PDPeripherals
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PDPeripherals
impl Debug for PDPeripherals
Source§impl Hash for PDPeripherals
impl Hash for PDPeripherals
Source§impl PartialEq for PDPeripherals
impl PartialEq for PDPeripherals
impl Copy for PDPeripherals
impl Eq for PDPeripherals
impl StructuralPartialEq for PDPeripherals
Auto Trait Implementations§
impl Freeze for PDPeripherals
impl RefUnwindSafe for PDPeripherals
impl Send for PDPeripherals
impl Sync for PDPeripherals
impl Unpin for PDPeripherals
impl UnwindSafe for PDPeripherals
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