#[repr(u8)]pub enum Traceportspeed {
DIV1 = 0,
DIV2 = 1,
DIV4 = 2,
DIV32 = 3,
}
Variants§
DIV1 = 0
Trace port speed equals CPU clock
DIV2 = 1
Trace port speed equals CPU clock divided by 2
DIV4 = 2
Trace port speed equals CPU clock divided by 4
DIV32 = 3
Trace port speed equals CPU clock divided by 32
Implementations§
Trait Implementations§
Source§impl Clone for Traceportspeed
impl Clone for Traceportspeed
Source§fn clone(&self) -> Traceportspeed
fn clone(&self) -> Traceportspeed
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 From<Traceportspeed> for u8
impl From<Traceportspeed> for u8
Source§fn from(val: Traceportspeed) -> u8
fn from(val: Traceportspeed) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Traceportspeed
impl From<u8> for Traceportspeed
Source§fn from(val: u8) -> Traceportspeed
fn from(val: u8) -> Traceportspeed
Converts to this type from the input type.
Source§impl Ord for Traceportspeed
impl Ord for Traceportspeed
Source§fn cmp(&self, other: &Traceportspeed) -> Ordering
fn cmp(&self, other: &Traceportspeed) -> 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 Traceportspeed
impl PartialEq for Traceportspeed
Source§impl PartialOrd for Traceportspeed
impl PartialOrd for Traceportspeed
impl Copy for Traceportspeed
impl Eq for Traceportspeed
impl StructuralPartialEq for Traceportspeed
Auto Trait Implementations§
impl Freeze for Traceportspeed
impl RefUnwindSafe for Traceportspeed
impl Send for Traceportspeed
impl Sync for Traceportspeed
impl Unpin for Traceportspeed
impl UnwindSafe for Traceportspeed
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
)