pub enum Breakpoint {
Dr0 = 0,
Dr1 = 1,
Dr2 = 2,
Dr3 = 3,
}
Expand description
Specifies available hardware breakpoints.
Variants§
Implementations§
Source§impl Breakpoint
impl Breakpoint
Sourcepub unsafe fn configure(&self, addr: usize, bc: BreakCondition, bs: BreakSize)
pub unsafe fn configure(&self, addr: usize, bc: BreakCondition, bs: BreakSize)
Sourcepub unsafe fn enable_global(&self)
pub unsafe fn enable_global(&self)
Sourcepub unsafe fn enable_local(&self)
pub unsafe fn enable_local(&self)
Sourcepub unsafe fn disable_global(&self)
pub unsafe fn disable_global(&self)
Sourcepub unsafe fn disable_local(&self)
pub unsafe fn disable_local(&self)
Trait Implementations§
Source§impl Clone for Breakpoint
impl Clone for Breakpoint
Source§fn clone(&self) -> Breakpoint
fn clone(&self) -> Breakpoint
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 Breakpoint
impl Debug for Breakpoint
Source§impl PartialEq for Breakpoint
impl PartialEq for Breakpoint
impl Copy for Breakpoint
impl Eq for Breakpoint
impl StructuralPartialEq for Breakpoint
Auto Trait Implementations§
impl Freeze for Breakpoint
impl RefUnwindSafe for Breakpoint
impl Send for Breakpoint
impl Sync for Breakpoint
impl Unpin for Breakpoint
impl UnwindSafe for Breakpoint
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