pub struct LocationFunctionInfo {
pub label: Label,
pub label_offset: Option<i64>,
pub inlined_at: LocationInlinedAt,
pub span: Span,
}Expand description
Debug-string reference and call site attached to an inlined .loc.
Fields§
§label: LabelLabel in the .debug_str section that names the inlined function.
label_offset: Option<i64>Optional byte offset from label.
inlined_at: LocationInlinedAt§span: SpanImplementations§
Trait Implementations§
Source§impl Clone for LocationFunctionInfo
impl Clone for LocationFunctionInfo
Source§fn clone(&self) -> LocationFunctionInfo
fn clone(&self) -> LocationFunctionInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LocationFunctionInfo
impl Debug for LocationFunctionInfo
Source§impl PartialEq for LocationFunctionInfo
impl PartialEq for LocationFunctionInfo
Source§impl Serialize for LocationFunctionInfo
impl Serialize for LocationFunctionInfo
Source§impl Spanned for LocationFunctionInfo
impl Spanned for LocationFunctionInfo
impl StructuralPartialEq for LocationFunctionInfo
Source§impl TreeDisplay for LocationFunctionInfo
impl TreeDisplay for LocationFunctionInfo
Source§fn tree_display(&self, f: &mut TreeFormatter, source: &str) -> Result
fn tree_display(&self, f: &mut TreeFormatter, source: &str) -> Result
Display this node in tree format. Read more
Auto Trait Implementations§
impl Freeze for LocationFunctionInfo
impl RefUnwindSafe for LocationFunctionInfo
impl Send for LocationFunctionInfo
impl Sync for LocationFunctionInfo
impl Unpin for LocationFunctionInfo
impl UnsafeUnpin for LocationFunctionInfo
impl UnwindSafe for LocationFunctionInfo
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