pub struct ScopedFunction<'scope, 'data> { /* private fields */ }Expand description
A Lua function handle tied to a lexical scope.
Implementations§
Trait Implementations§
Source§impl<'scope, 'data> Debug for ScopedFunction<'scope, 'data>
impl<'scope, 'data> Debug for ScopedFunction<'scope, 'data>
Source§impl IntoLua for &ScopedFunction<'_, '_>
impl IntoLua for &ScopedFunction<'_, '_>
Auto Trait Implementations§
impl<'scope, 'data> Freeze for ScopedFunction<'scope, 'data>
impl<'scope, 'data> !RefUnwindSafe for ScopedFunction<'scope, 'data>
impl<'scope, 'data> !Send for ScopedFunction<'scope, 'data>
impl<'scope, 'data> !Sync for ScopedFunction<'scope, 'data>
impl<'scope, 'data> Unpin for ScopedFunction<'scope, 'data>
impl<'scope, 'data> UnsafeUnpin for ScopedFunction<'scope, 'data>
impl<'scope, 'data> !UnwindSafe for ScopedFunction<'scope, 'data>
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