pub enum HardwareKind {
Intc(Boxed),
Systick(Boxed),
Power(Boxed),
Block(Boxed),
Clk(Boxed),
Serial(Boxed),
}
Variants§
Implementations§
Source§impl HardwareKind
impl HardwareKind
pub fn to_device(self, desc: Descriptor) -> DeviceKind
Auto Trait Implementations§
impl Freeze for HardwareKind
impl !RefUnwindSafe for HardwareKind
impl Send for HardwareKind
impl !Sync for HardwareKind
impl Unpin for HardwareKind
impl !UnwindSafe for HardwareKind
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