pub enum DriverKind {
InteruptChip,
Uart,
Timer,
}
Variants§
Trait Implementations§
Source§impl Clone for DriverKind
impl Clone for DriverKind
Source§fn clone(&self) -> DriverKind
fn clone(&self) -> DriverKind
Returns a copy 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 DriverKind
impl Debug for DriverKind
Source§impl Ord for DriverKind
impl Ord for DriverKind
Source§fn cmp(&self, other: &DriverKind) -> Ordering
fn cmp(&self, other: &DriverKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DriverKind
impl PartialEq for DriverKind
Source§impl PartialOrd for DriverKind
impl PartialOrd for DriverKind
impl Copy for DriverKind
impl Eq for DriverKind
impl StructuralPartialEq for DriverKind
Auto Trait Implementations§
impl Freeze for DriverKind
impl RefUnwindSafe for DriverKind
impl Send for DriverKind
impl Sync for DriverKind
impl Unpin for DriverKind
impl UnwindSafe for DriverKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)