#[repr(transparent)]pub struct DummyNodeSentinel(pub LuaNode);Expand description
The shared immutable empty-hash sentinel. Reference: VM/src/ltable.cpp:48
const LuaNode luaH_dummynode = {{{NULL},{0},LUA_TNIL}, {{NULL},{0},LUA_TNIL,0}};
LuaNode holds raw pointers so it is not Sync; the wrapper asserts what
the C++ global guarantees — the object is immutable shared data.
Tuple Fields§
§0: LuaNodeTrait Implementations§
impl Sync for DummyNodeSentinel
Auto Trait Implementations§
impl !Send for DummyNodeSentinel
impl Freeze for DummyNodeSentinel
impl RefUnwindSafe for DummyNodeSentinel
impl Unpin for DummyNodeSentinel
impl UnsafeUnpin for DummyNodeSentinel
impl UnwindSafe for DummyNodeSentinel
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