Struct mlua::DebugNames 
source · pub struct DebugNames<'a> {
    pub name: Option<Cow<'a, str>>,
    pub name_what: Option<&'static str>,
}Fields§
§name: Option<Cow<'a, str>>A (reasonable) name of the function (None if the name cannot be found).
name_what: Option<&'static str>Explains the name field (can be global/local/method/field/upvalue/etc).
Always None for Luau.
Trait Implementations§
source§impl<'a> Clone for DebugNames<'a>
 
impl<'a> Clone for DebugNames<'a>
source§fn clone(&self) -> DebugNames<'a>
 
fn clone(&self) -> DebugNames<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreAuto Trait Implementations§
impl<'a> RefUnwindSafe for DebugNames<'a>
impl<'a> Send for DebugNames<'a>
impl<'a> Sync for DebugNames<'a>
impl<'a> Unpin for DebugNames<'a>
impl<'a> UnwindSafe for DebugNames<'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