#[repr(u16)]pub enum PDPeripherals {
kNone = 0,
kAccelerometer = 1,
kAllPeripherals = 65_535,
}Variants§
Trait Implementations§
Source§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§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 Ord for PDPeripherals
impl Ord for PDPeripherals
Source§impl PartialEq for PDPeripherals
impl PartialEq for PDPeripherals
Source§impl PartialOrd for PDPeripherals
impl PartialOrd for PDPeripherals
Source§fn partial_cmp(&self, other: &PDPeripherals) -> Option<Ordering>
fn partial_cmp(&self, other: &PDPeripherals) -> Option<Ordering>
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§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
§impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 2 bytes
Size for each variant:
kNone: 0 byteskAccelerometer: 0 byteskAllPeripherals: 0 bytes