pub enum DevicePlatform {
Avr,
Esp32,
Nrf52,
Other(u8),
}Variants§
Implementations§
Source§impl DevicePlatform
impl DevicePlatform
pub const fn from_device_report(value: u8) -> DevicePlatform
Trait Implementations§
Source§impl Clone for DevicePlatform
impl Clone for DevicePlatform
Source§fn clone(&self) -> DevicePlatform
fn clone(&self) -> DevicePlatform
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 DevicePlatform
Source§impl Debug for DevicePlatform
impl Debug for DevicePlatform
impl Eq for DevicePlatform
Source§impl PartialEq for DevicePlatform
impl PartialEq for DevicePlatform
impl StructuralPartialEq for DevicePlatform
Auto Trait Implementations§
impl Freeze for DevicePlatform
impl RefUnwindSafe for DevicePlatform
impl Send for DevicePlatform
impl Sync for DevicePlatform
impl Unpin for DevicePlatform
impl UnsafeUnpin for DevicePlatform
impl UnwindSafe for DevicePlatform
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