pub struct DebugInfo<'a> {
pub source_code: &'a str,
pub file_name: &'a Path,
pub language: SourceLanguage,
}
Fields§
§source_code: &'a str
§file_name: &'a Path
§language: SourceLanguage
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DebugInfo<'a>
impl<'a> RefUnwindSafe for DebugInfo<'a>
impl<'a> Send for DebugInfo<'a>
impl<'a> Sync for DebugInfo<'a>
impl<'a> Unpin for DebugInfo<'a>
impl<'a> UnwindSafe for DebugInfo<'a>
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