pub struct LuaType(pub String);Expand description
The nominal type a local is annotated with — which in Lua is
nothing at all, so the type is a tag this backend keeps for its own
two decisions: whether a cast target is boolean (a union label
becomes true/false), and whether a storage request is the map
entry marker. Everything else is carried through untouched.
Tuple Fields§
§0: StringTrait Implementations§
impl Eq for LuaType
impl StructuralPartialEq for LuaType
Auto Trait Implementations§
impl Freeze for LuaType
impl RefUnwindSafe for LuaType
impl Send for LuaType
impl Sync for LuaType
impl Unpin for LuaType
impl UnsafeUnpin for LuaType
impl UnwindSafe for LuaType
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