pub struct StackFrameFormat {
pub parameters: Option<bool>,
pub parameter_types: Option<bool>,
pub parameter_names: Option<bool>,
pub parameter_values: Option<bool>,
pub line: Option<bool>,
pub module: Option<bool>,
pub include_all: Option<bool>,
/* private fields */
}
Expand description
Provides formatting information for a stack frame.
Fields§
§parameters: Option<bool>
Displays parameters for the stack frame.
parameter_types: Option<bool>
Displays the types of parameters for the stack frame.
parameter_names: Option<bool>
Displays the names of parameters for the stack frame.
parameter_values: Option<bool>
Displays the values of parameters for the stack frame.
line: Option<bool>
Displays the line number of the stack frame.
module: Option<bool>
Displays the module of the stack frame.
include_all: Option<bool>
Includes all stack frames, including those the debug adapter might otherwise hide.
Implementations§
Source§impl StackFrameFormat
impl StackFrameFormat
Sourcepub fn builder() -> StackFrameFormatBuilder<((), (), (), (), (), (), ())>
pub fn builder() -> StackFrameFormatBuilder<((), (), (), (), (), (), ())>
Create a builder for building StackFrameFormat
.
On the builder, call .parameters(...)
(optional), .parameter_types(...)
(optional), .parameter_names(...)
(optional), .parameter_values(...)
(optional), .line(...)
(optional), .module(...)
(optional), .include_all(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of StackFrameFormat
.
Trait Implementations§
Source§impl Clone for StackFrameFormat
impl Clone for StackFrameFormat
Source§fn clone(&self) -> StackFrameFormat
fn clone(&self) -> StackFrameFormat
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for StackFrameFormat
impl Debug for StackFrameFormat
Source§impl<'de> Deserialize<'de> for StackFrameFormat
impl<'de> Deserialize<'de> for StackFrameFormat
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>,
Source§impl PartialEq for StackFrameFormat
impl PartialEq for StackFrameFormat
Source§impl Serialize for StackFrameFormat
impl Serialize for StackFrameFormat
impl Eq for StackFrameFormat
impl StructuralPartialEq for StackFrameFormat
Auto Trait Implementations§
impl Freeze for StackFrameFormat
impl RefUnwindSafe for StackFrameFormat
impl Send for StackFrameFormat
impl Sync for StackFrameFormat
impl Unpin for StackFrameFormat
impl UnwindSafe for StackFrameFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.