pub struct FuncRef { /* private fields */ }Expand description
A function: a Lua closure or a native (Rust) function.
A reference into the collector’s heap: valid while what it names is reachable from
the script, from a running call’s arguments, or from a Root.
Trait Implementations§
impl Copy for FuncRef
impl Eq for FuncRef
impl StructuralPartialEq for FuncRef
Auto Trait Implementations§
impl Forget for FuncRef
impl Freeze for FuncRef
impl Move for FuncRef
impl RefUnwindSafe for FuncRef
impl Send for FuncRef
impl Sync for FuncRef
impl Unpin for FuncRef
impl UnsafeUnpin for FuncRef
impl UnwindSafe for FuncRef
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