[][src]Struct wasmdbg::breakpoints::Breakpoints

pub struct Breakpoints { /* fields omitted */ }

Methods

impl Breakpoints[src]

pub fn new() -> Self[src]

pub fn is_empty(&self) -> bool[src]

pub fn len(&self) -> usize[src]

pub fn find_code(&self, pos: CodePosition) -> Option<u32>[src]

pub fn find_global(&self, global: u32, write: bool) -> Option<u32>[src]

pub fn find_memory(&self, start: u32, len: u32, write: bool) -> Option<u32>[src]

pub fn add_breakpoint(&mut self, breakpoint: Breakpoint) -> u32[src]

pub fn delete_breakpoint(&mut self, index: u32) -> bool[src]

pub fn clear(&mut self)[src]

pub fn iter(&self) -> <&Self as IntoIterator>::IntoIter[src]

Trait Implementations

impl<'a> IntoIterator for &'a Breakpoints[src]

type Item = (&'a u32, &'a Breakpoint)

The type of the elements being iterated over.

type IntoIter = <&'a HashMap<u32, Breakpoint> as IntoIterator>::IntoIter

Which kind of iterator are we turning this into?

impl Default for Breakpoints[src]

Auto Trait Implementations

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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