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]

Change the number of spaces used for indentation

Trait Implementations

impl Debug for Style
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Style
[src]

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

This method tests for !=.

impl Clone for Style
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Style
[src]

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

Auto Trait Implementations

impl Send for Style

impl Sync for Style