#[repr(u8)]pub enum DebugHaltCtrl {
_RESERVED_0 = 0,
RUN_TIMER = 1,
PAUSE_TIMER = 2,
_RESERVED_3 = 3,
}Variants§
_RESERVED_0 = 0
RUN_TIMER = 1
Keep the timer running
PAUSE_TIMER = 2
Stop the timer
_RESERVED_3 = 3
Implementations§
Source§impl DebugHaltCtrl
impl DebugHaltCtrl
Trait Implementations§
Source§impl Clone for DebugHaltCtrl
impl Clone for DebugHaltCtrl
Source§fn clone(&self) -> DebugHaltCtrl
fn clone(&self) -> DebugHaltCtrl
Returns a duplicate 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 DebugHaltCtrl
impl Debug for DebugHaltCtrl
Source§impl From<DebugHaltCtrl> for u8
impl From<DebugHaltCtrl> for u8
Source§fn from(val: DebugHaltCtrl) -> u8
fn from(val: DebugHaltCtrl) -> u8
Converts to this type from the input type.
Source§impl From<u8> for DebugHaltCtrl
impl From<u8> for DebugHaltCtrl
Source§fn from(val: u8) -> DebugHaltCtrl
fn from(val: u8) -> DebugHaltCtrl
Converts to this type from the input type.
Source§impl Ord for DebugHaltCtrl
impl Ord for DebugHaltCtrl
Source§fn cmp(&self, other: &DebugHaltCtrl) -> Ordering
fn cmp(&self, other: &DebugHaltCtrl) -> 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 DebugHaltCtrl
impl PartialEq for DebugHaltCtrl
Source§impl PartialOrd for DebugHaltCtrl
impl PartialOrd for DebugHaltCtrl
impl Copy for DebugHaltCtrl
impl Eq for DebugHaltCtrl
impl StructuralPartialEq for DebugHaltCtrl
Auto Trait Implementations§
impl Freeze for DebugHaltCtrl
impl RefUnwindSafe for DebugHaltCtrl
impl Send for DebugHaltCtrl
impl Sync for DebugHaltCtrl
impl Unpin for DebugHaltCtrl
impl UnwindSafe for DebugHaltCtrl
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