Enum x86_64::registers::debug::BreakpointSize
source · #[repr(u8)]pub enum BreakpointSize {
Length1B = 0,
Length2B = 1,
Length8B = 2,
Length4B = 3,
}
Expand description
The size of a hardware breakpoint.
Variants§
Length1B = 0
1 byte length
Length2B = 1
2 byte length
Length8B = 2
8 byte length
Length4B = 3
4 byte length
Implementations§
Trait Implementations§
source§impl Clone for BreakpointSize
impl Clone for BreakpointSize
source§fn clone(&self) -> BreakpointSize
fn clone(&self) -> BreakpointSize
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 BreakpointSize
impl Debug for BreakpointSize
source§impl PartialEq for BreakpointSize
impl PartialEq for BreakpointSize
source§fn eq(&self, other: &BreakpointSize) -> bool
fn eq(&self, other: &BreakpointSize) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BreakpointSize
impl Eq for BreakpointSize
impl StructuralPartialEq for BreakpointSize
Auto Trait Implementations§
impl Freeze for BreakpointSize
impl RefUnwindSafe for BreakpointSize
impl Send for BreakpointSize
impl Sync for BreakpointSize
impl Unpin for BreakpointSize
impl UnwindSafe for BreakpointSize
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