Enum kawaii::document::Document [] [src]

pub enum Document {
    Empty,
    Line,
    String(String),
    With {
        inner: Rc<Document>,
        config: Config,
    },
    Cons {
        left: Rc<Document>,
        right: Rc<Document>,
    },
    Nest {
        inner: Rc<Document>,
        indent: Indent,
        when: When,
    },
    Break {
        value: String,
        mode: Break,
    },
    Group {
        name: String,
        inner: Rc<Document>,
        mode: Group,
    },
    Fits {
        inner: Rc<Document>,
        mode: Fits,
    },
    Force(Rc<Document>),
    Collapse(usize),
    Style {
        inner: Rc<Document>,
        style: Style,
    },
}

Variants

Fields of With

Fields of Cons

Fields of Nest

Fields of Break

Fields of Group

Fields of Fits

Fields of Style

Trait Implementations

impl Debug for Document
[src]

[src]

Formats the value using the given formatter.

impl Default for Document
[src]

[src]

Returns the "default value" for a type. Read more

impl Display for Document
[src]

[src]

Formats the value using the given formatter. Read more