pub struct DebugSource {
pub file_name: Cow<'static, str>,
pub source_code: Cow<'static, str>,
}Fields§
§file_name: Cow<'static, str>§source_code: Cow<'static, str>Trait Implementations§
Source§impl Clone for DebugSource
impl Clone for DebugSource
Auto Trait Implementations§
impl Forget for DebugSource
impl Freeze for DebugSource
impl Move for DebugSource
impl RefUnwindSafe for DebugSourcewhere
String: RefUnwindSafe,
impl Send for DebugSource
impl Sync for DebugSource
impl Unpin for DebugSource
impl UnsafeUnpin for DebugSource
impl UnwindSafe for DebugSource
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