pub struct LuaCClosure {
pub func: LuaCFnPtr,
pub upvalues: RefCell<Vec<LuaValue>>,
}Fields§
§func: LuaCFnPtr§upvalues: RefCell<Vec<LuaValue>>Implementations§
Source§impl LuaCClosure
impl LuaCClosure
Sourcepub fn buffer_bytes(&self) -> usize
pub fn buffer_bytes(&self) -> usize
Bytes owned outside the GcBox header/object allocation.
Trait Implementations§
Source§impl Debug for LuaCClosure
impl Debug for LuaCClosure
Auto Trait Implementations§
impl !Freeze for LuaCClosure
impl !RefUnwindSafe for LuaCClosure
impl !Send for LuaCClosure
impl !Sync for LuaCClosure
impl Unpin for LuaCClosure
impl UnsafeUnpin for LuaCClosure
impl !UnwindSafe for LuaCClosure
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