[−][src]Struct wasmdbg::breakpoints::Breakpoints
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?
fn into_iter(self) -> Self::IntoIter
[src]
impl Default for Breakpoints
[src]
fn default() -> Breakpoints
[src]
Auto Trait Implementations
impl Send for Breakpoints
impl Sync for Breakpoints
impl Unpin for Breakpoints
impl UnwindSafe for Breakpoints
impl RefUnwindSafe for Breakpoints
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,