pub struct BreakpointMode {
pub mode: String,
pub label: String,
pub description: Option<String>,
pub applies_to: Vec<BreakpointModeApplicability>,
}
Expand description
A BreakpointMode
is provided as a option when setting breakpoints on sources or instructions.
Fields§
§mode: String
The internal ID of the mode. This value is passed to the setBreakpoints
request.
label: String
The name of the breakpoint mode. This is shown in the UI.
description: Option<String>
A help text providing additional information about the breakpoint mode. This string is typically shown as a hover and can be translated.
applies_to: Vec<BreakpointModeApplicability>
Describes one or more type of breakpoint this mode applies to.
Trait Implementations§
Source§impl Clone for BreakpointMode
impl Clone for BreakpointMode
Source§fn clone(&self) -> BreakpointMode
fn clone(&self) -> BreakpointMode
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 BreakpointMode
impl Debug for BreakpointMode
Source§impl<'de> Deserialize<'de> for BreakpointMode
impl<'de> Deserialize<'de> for BreakpointMode
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 BreakpointMode
impl RefUnwindSafe for BreakpointMode
impl Send for BreakpointMode
impl Sync for BreakpointMode
impl Unpin for BreakpointMode
impl UnwindSafe for BreakpointMode
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