Struct graphql_parser::Style [] [src]

pub struct Style { /* fields omitted */ }

A configuration of formatting style

Currently we only have indentation configured, other things might be added later (such as minification).

Methods

impl Style
[src]

[src]

Change the number of spaces used for indentation

Trait Implementations

impl Debug for Style
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Style
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Default for Style
[src]

[src]

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