pub struct EmitOptions {
pub indent: String,
pub target: LuaTarget,
pub emit_header_comment: bool,
}Expand description
Options that control how the emitted Lua source is formatted.
Fields§
§indent: StringString used for each indentation level (default: four spaces).
target: LuaTargetTarget runtime.
emit_header_comment: boolEmit a -- Generated by valua header comment.
Trait Implementations§
Source§impl Clone for EmitOptions
impl Clone for EmitOptions
Source§impl Debug for EmitOptions
impl Debug for EmitOptions
Auto Trait Implementations§
impl Freeze for EmitOptions
impl RefUnwindSafe for EmitOptions
impl Send for EmitOptions
impl Sync for EmitOptions
impl Unpin for EmitOptions
impl UnsafeUnpin for EmitOptions
impl UnwindSafe for EmitOptions
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