[][src]Struct darklua_core::generator::DenseLuaGenerator

pub struct DenseLuaGenerator { /* fields omitted */ }

This implementation of LuaGenerator attempts to produce Lua code as small as possible. It is not meant to be read by humans.

Implementations

impl DenseLuaGenerator[src]

pub fn new(column_span: usize) -> Self[src]

Creates a generator that will wrap the code on a new line after the amount of characters given by the column_span argument.

pub fn into_string(self) -> String[src]

Consumes the LuaGenerator and produce a String object.

Trait Implementations

impl Clone for DenseLuaGenerator[src]

impl Debug for DenseLuaGenerator[src]

impl Default for DenseLuaGenerator[src]

impl LuaGenerator for DenseLuaGenerator[src]

fn into_string(self) -> String[src]

Consumes the LuaGenerator and produce a String object.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.