pub enum Breakpoint {
PC(u16),
Reg {
reg: Reg,
value: Comparator,
},
Mem {
addr: u16,
value: Comparator,
},
}
Expand description
Common breakpoints.
Variants§
PC(u16)
Break when the PC is equal to the given value.
Reg
Break when the provided register is set to a given value.
Mem
Break when the provided memory address is written to with a given value.
Implementations§
Trait Implementations§
Source§impl Debug for Breakpoint
impl Debug for Breakpoint
Source§impl Hash for Breakpoint
impl Hash for Breakpoint
Source§impl PartialEq for Breakpoint
impl PartialEq 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