pub struct LineInfo {
pub insn_off: u32,
pub file_name_off: u32,
pub line_off: u32,
pub line_num: u32,
pub line_col: u32,
}
Expand description
BTF Line information
Fields§
§insn_off: u32
Offset of instruction in vector
file_name_off: u32
File name offset
line_off: u32
Line offset in debug info
line_num: u32
Line number
line_col: u32
Line column number
Trait Implementations§
Source§impl From<&bpf_line_info> for LineInfo
impl From<&bpf_line_info> for LineInfo
Source§fn from(item: &bpf_line_info) -> Self
fn from(item: &bpf_line_info) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LineInfo
impl RefUnwindSafe for LineInfo
impl Send for LineInfo
impl Sync for LineInfo
impl Unpin for LineInfo
impl UnwindSafe for LineInfo
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)