pub struct GeneratedRange {
pub start: Position,
pub end: Position,
pub is_stack_frame: bool,
pub is_hidden: bool,
pub definition: Option<usize>,
pub call_site: Option<CallSite>,
pub bindings: Vec<Binding>,
pub children: Vec<GeneratedRange>,
}Expand description
A generated range in the output code.
Fields§
§start: Position§end: Position§is_stack_frame: boolWhether this range is a stack frame (function boundary).
Whether this stack frame should be hidden from traces.
definition: Option<usize>Index into the pre-order list of all original scope starts.
call_site: Option<CallSite>Call site if this range represents an inlined function body.
bindings: Vec<Binding>Variable bindings (one per variable in the referenced original scope).
children: Vec<GeneratedRange>Child ranges nested within this one.
Trait Implementations§
Source§impl Clone for GeneratedRange
impl Clone for GeneratedRange
Source§fn clone(&self) -> GeneratedRange
fn clone(&self) -> GeneratedRange
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 GeneratedRange
impl Debug for GeneratedRange
Source§impl PartialEq for GeneratedRange
impl PartialEq for GeneratedRange
impl Eq for GeneratedRange
impl StructuralPartialEq for GeneratedRange
Auto Trait Implementations§
impl Freeze for GeneratedRange
impl RefUnwindSafe for GeneratedRange
impl Send for GeneratedRange
impl Sync for GeneratedRange
impl Unpin for GeneratedRange
impl UnsafeUnpin for GeneratedRange
impl UnwindSafe for GeneratedRange
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