pub enum SteppingGranularity {
Statement,
Line,
Instruction,
}
Expand description
The granularity of one ‘step’ in the stepping requests ‘next’, ‘stepIn’, ‘stepOut’, and ‘stepBack’.
Variants§
Statement
The step should allow the program to run until the current statement has finished executing.
The meaning of a statement is determined by the adapter and it may be considered equivalent to a line.
For example ’for(int i = 0; i < 10; i++) could be considered to have 3 statements ‘int i = 0’, ‘i < 10’, and ‘i++’.
Line
The step should allow the program to run until the current source line has executed.
Instruction
The step should allow one instruction to execute (e.g. one x86 instruction).
Trait Implementations§
Source§impl Clone for SteppingGranularity
impl Clone for SteppingGranularity
Source§fn clone(&self) -> SteppingGranularity
fn clone(&self) -> SteppingGranularity
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SteppingGranularity
impl Debug for SteppingGranularity
Source§impl Default for SteppingGranularity
impl Default for SteppingGranularity
Source§impl<'de> Deserialize<'de> for SteppingGranularity
impl<'de> Deserialize<'de> for SteppingGranularity
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
Source§impl PartialEq for SteppingGranularity
impl PartialEq for SteppingGranularity
Source§impl Serialize for SteppingGranularity
impl Serialize for SteppingGranularity
impl Eq for SteppingGranularity
impl StructuralPartialEq for SteppingGranularity
Auto Trait Implementations§
impl Freeze for SteppingGranularity
impl RefUnwindSafe for SteppingGranularity
impl Send for SteppingGranularity
impl Sync for SteppingGranularity
impl Unpin for SteppingGranularity
impl UnwindSafe for SteppingGranularity
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<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
Compare self to
key
and return true
if they are equal.