#[repr(u8)]pub enum DeviceTypePkg {
Hlqfp = 0,
Htqfp = 1,
Bga = 2,
Hdqfp = 3,
Qfn = 4,
Csp = 5,
Lqfp = 6,
}Expand description
Indicates the device’s package type
Value on reset: 0
Variants§
Hlqfp = 0
0: HLQFP
Htqfp = 1
1: HTQFP
Bga = 2
2: BGA
Hdqfp = 3
3: HDQFP
Qfn = 4
4: QFN
Csp = 5
5: CSP
Lqfp = 6
6: LQFP
Trait Implementations§
Source§impl Clone for DeviceTypePkg
impl Clone for DeviceTypePkg
Source§fn clone(&self) -> DeviceTypePkg
fn clone(&self) -> DeviceTypePkg
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 DeviceTypePkg
Source§impl Debug for DeviceTypePkg
impl Debug for DeviceTypePkg
impl Eq for DeviceTypePkg
Source§impl From<DeviceTypePkg> for u8
impl From<DeviceTypePkg> for u8
Source§fn from(variant: DeviceTypePkg) -> Self
fn from(variant: DeviceTypePkg) -> Self
Converts to this type from the input type.
impl IsEnum for DeviceTypePkg
Source§impl PartialEq for DeviceTypePkg
impl PartialEq for DeviceTypePkg
Source§fn eq(&self, other: &DeviceTypePkg) -> bool
fn eq(&self, other: &DeviceTypePkg) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeviceTypePkg
Auto Trait Implementations§
impl Freeze for DeviceTypePkg
impl RefUnwindSafe for DeviceTypePkg
impl Send for DeviceTypePkg
impl Sync for DeviceTypePkg
impl Unpin for DeviceTypePkg
impl UnsafeUnpin for DeviceTypePkg
impl UnwindSafe for DeviceTypePkg
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