pub struct BreakpointBuilder { /* private fields */ }Expand description
A builder for constructing breakpoint definitions.
This builder provides a fluent interface for creating Breakpoint
instances, allowing for flexible configuration of breakpoint properties
and metadata.
Implementations§
Source§impl BreakpointBuilder
impl BreakpointBuilder
Sourcepub fn new(ctx: impl Into<AddressContext>, view: View) -> Self
pub fn new(ctx: impl Into<AddressContext>, view: View) -> Self
Creates a new breakpoint builder.
Sourcepub fn global(self) -> Self
pub fn global(self) -> Self
Sets the breakpoint as global.
A global breakpoint will be triggered regardless of the translation
root, e.g., only AddressContext::va will be considered during
breakpoint matching.
Trait Implementations§
Source§impl Debug for BreakpointBuilder
impl Debug for BreakpointBuilder
Source§impl<Key, Tag> From<BreakpointBuilder> for Breakpoint<Key, Tag>
impl<Key, Tag> From<BreakpointBuilder> for Breakpoint<Key, Tag>
Source§fn from(value: BreakpointBuilder) -> Self
fn from(value: BreakpointBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BreakpointBuilder
impl RefUnwindSafe for BreakpointBuilder
impl Send for BreakpointBuilder
impl Sync for BreakpointBuilder
impl Unpin for BreakpointBuilder
impl UnwindSafe for BreakpointBuilder
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