pub struct SetBreakpointReturn { /* private fields */ }Available on crate features
Debugger and Runtime only.Expand description
Sets JavaScript breakpoint at a given location.
Implementations§
Source§impl SetBreakpointReturn
impl SetBreakpointReturn
pub fn new(breakpoint_id: BreakpointId, actual_location: Location) -> Self
Sourcepub fn breakpoint_id(&self) -> &BreakpointId
pub fn breakpoint_id(&self) -> &BreakpointId
Id of the created breakpoint for further reference.
Sourcepub fn actual_location(&self) -> &Location
pub fn actual_location(&self) -> &Location
Location this breakpoint resolved into.
Trait Implementations§
Source§impl Clone for SetBreakpointReturn
impl Clone for SetBreakpointReturn
Source§fn clone(&self) -> SetBreakpointReturn
fn clone(&self) -> SetBreakpointReturn
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 SetBreakpointReturn
impl Debug for SetBreakpointReturn
Source§impl<'de> Deserialize<'de> for SetBreakpointReturn
impl<'de> Deserialize<'de> for SetBreakpointReturn
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SetBreakpointReturn
impl RefUnwindSafe for SetBreakpointReturn
impl Send for SetBreakpointReturn
impl Sync for SetBreakpointReturn
impl Unpin for SetBreakpointReturn
impl UnwindSafe for SetBreakpointReturn
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