pub struct SBBreakpointList {
pub raw: SBBreakpointListRef,
}Expand description
A list of breakpoints.
Fields§
§raw: SBBreakpointListRefThe underlying raw SBBreakpointListRef.
Implementations§
Source§impl SBBreakpointList
impl SBBreakpointList
Sourcepub fn new(target: &SBTarget) -> SBBreakpointList
pub fn new(target: &SBTarget) -> SBBreakpointList
Construct a new SBBreakpointList.
pub fn find_breakpoint_by_id(&self, id: i32) -> Option<SBBreakpoint>
pub fn append(&self, bkpt: &SBBreakpoint)
pub fn append_by_id(&self, bkpt_id: i32)
pub fn append_if_unique(&self, bkpt: &SBBreakpoint)
Sourcepub fn iter(&self) -> SBBreakpointListIter<'_> ⓘ
pub fn iter(&self) -> SBBreakpointListIter<'_> ⓘ
Iterate over this breakpoint list.
Trait Implementations§
Source§impl Clone for SBBreakpointList
impl Clone for SBBreakpointList
Source§fn clone(&self) -> SBBreakpointList
fn clone(&self) -> SBBreakpointList
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Drop for SBBreakpointList
impl Drop for SBBreakpointList
Source§impl<'d> IntoIterator for &'d SBBreakpointList
impl<'d> IntoIterator for &'d SBBreakpointList
impl Send for SBBreakpointList
impl Sync for SBBreakpointList
Auto Trait Implementations§
impl Freeze for SBBreakpointList
impl RefUnwindSafe for SBBreakpointList
impl Unpin for SBBreakpointList
impl UnwindSafe for SBBreakpointList
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