[][src]Struct olympia_engine::debug::Breakpoint

pub struct Breakpoint {
    pub monitor: RWTarget,
    pub value: u64,
}

A breakpoint that triggers when a monitored value is set to a given value.

Fields

monitor: RWTarget

The value that should be checked

value: u64

Value to check against. For 8-bit registers or memory locations, only the lower 8-bits are checked

Implementations

impl Breakpoint[src]

pub fn new(monitor: RWTarget, value: u64) -> Breakpoint[src]

pub fn should_break(&self, gb: &GameBoy) -> bool[src]

Returns whether this breakpoint is active

Trait Implementations

impl Clone for Breakpoint[src]

impl Debug for Breakpoint[src]

impl Display for Breakpoint[src]

impl Eq for Breakpoint[src]

impl From<Breakpoint> for UiBreakpoint[src]

impl PartialEq<Breakpoint> for Breakpoint[src]

impl StructuralEq for Breakpoint[src]

impl StructuralPartialEq for Breakpoint[src]

Auto Trait Implementations

impl Send for Breakpoint

impl Sync for Breakpoint

impl Unpin for Breakpoint

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.