pub struct BreakpointId(/* private fields */);Expand description
Unique identifier for a breakpoint.
Opaque handle — external consumers can compare and store IDs but cannot construct or inspect the inner value.
Implementations§
Source§impl BreakpointId
impl BreakpointId
Sourcepub fn from_raw(id: u32) -> Option<Self>
pub fn from_raw(id: u32) -> Option<Self>
Reconstruct a BreakpointId from its numeric value.
Used by frontends (MCP server, etc.) that persist IDs across serialization boundaries.
Returns None if id is 0, since the engine assigns IDs
starting from 1. An ID of 0 is never produced by the
breakpoint registry.
Trait Implementations§
Source§impl Clone for BreakpointId
impl Clone for BreakpointId
Source§fn clone(&self) -> BreakpointId
fn clone(&self) -> BreakpointId
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 Debug for BreakpointId
impl Debug for BreakpointId
Source§impl Display for BreakpointId
impl Display for BreakpointId
Source§impl Hash for BreakpointId
impl Hash for BreakpointId
Source§impl PartialEq for BreakpointId
impl PartialEq for BreakpointId
impl Copy for BreakpointId
impl Eq for BreakpointId
impl StructuralPartialEq for BreakpointId
Auto Trait Implementations§
impl Freeze for BreakpointId
impl RefUnwindSafe for BreakpointId
impl Send for BreakpointId
impl Sync for BreakpointId
impl Unpin for BreakpointId
impl UnsafeUnpin for BreakpointId
impl UnwindSafe for BreakpointId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more