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§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 ==.