Struct mlua::DebugSource
source · [−]pub struct DebugSource<'a> {
pub source: Option<&'a [u8]>,
pub short_src: Option<&'a [u8]>,
pub line_defined: i32,
pub what: Option<&'a [u8]>,
}
Fields
source: Option<&'a [u8]>
short_src: Option<&'a [u8]>
line_defined: i32
what: Option<&'a [u8]>
Trait Implementations
sourceimpl<'a> Clone for DebugSource<'a>
impl<'a> Clone for DebugSource<'a>
sourcefn clone(&self) -> DebugSource<'a>
fn clone(&self) -> DebugSource<'a>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl<'a> RefUnwindSafe for DebugSource<'a>
impl<'a> Send for DebugSource<'a>
impl<'a> Sync for DebugSource<'a>
impl<'a> Unpin for DebugSource<'a>
impl<'a> UnwindSafe for DebugSource<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more