pub struct LineInfo<'data> {
pub line: u32,
pub file_name: &'data str,
pub file_lang: Language,
}Expand description
Line information for a given IL offset in a function.
Fields§
§line: u32The line in the source file.
file_name: &'data strThe source file’s name.
file_lang: LanguageThe source language.
Trait Implementations§
impl<'data> Copy for LineInfo<'data>
impl<'data> Eq for LineInfo<'data>
impl<'data> StructuralPartialEq for LineInfo<'data>
Auto Trait Implementations§
impl<'data> Freeze for LineInfo<'data>
impl<'data> RefUnwindSafe for LineInfo<'data>
impl<'data> Send for LineInfo<'data>
impl<'data> Sync for LineInfo<'data>
impl<'data> Unpin for LineInfo<'data>
impl<'data> UnwindSafe for LineInfo<'data>
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.