pub struct DebugInfo<'a> {
pub source_code: &'a str,
pub file_name: &'a Path,
}
Fields§
§source_code: &'a str
§file_name: &'a Path
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
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
)