Enum Traceportspeed
#[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§
§impl Traceportspeed
impl Traceportspeed
pub const fn from_bits(val: u8) -> Traceportspeed
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Traceportspeed
impl Clone for Traceportspeed
§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 more§impl From<u8> for Traceportspeed
impl From<u8> for Traceportspeed
§fn from(val: u8) -> Traceportspeed
fn from(val: u8) -> Traceportspeed
Converts to this type from the input type.
§impl Ord for Traceportspeed
impl Ord for Traceportspeed
§impl PartialEq for Traceportspeed
impl PartialEq for Traceportspeed
§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
)