[][src]Struct dustbox::debug::Breakpoints

pub struct Breakpoints { /* fields omitted */ }

Methods

impl Breakpoints[src]

a list of addresses for the debugger to break on when CS:IP reach one of them

pub fn add(&mut self, bp: u32) -> Option<u32>[src]

pub fn remove(&mut self, bp: u32) -> Option<u32>[src]

pub fn get(&self) -> Vec<u32>[src]

returns a Vec with breakpoints sorted ascending

pub fn clear(&mut self)[src]

pub fn hit(&self, address: u32) -> bool[src]

returns true if address is at breakpoint

Trait Implementations

impl Default for Breakpoints[src]

Auto Trait Implementations

impl Send for Breakpoints

impl Sync for Breakpoints

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.