pub enum LuaFormat {
Value,
Script,
Return,
}Expand description
The format of the input Lua buffer.
Variants§
Value
A bare Lua expression:
{hello = "world"}Script
A Lua script containing only variable assignments:
hello = "world"Return
A Lua return statement:
return {hello = "world"}Trait Implementations§
impl Copy for LuaFormat
impl Eq for LuaFormat
impl StructuralPartialEq for LuaFormat
Auto Trait Implementations§
impl Freeze for LuaFormat
impl RefUnwindSafe for LuaFormat
impl Send for LuaFormat
impl Sync for LuaFormat
impl Unpin for LuaFormat
impl UnwindSafe for LuaFormat
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