bluejay-printer 0.3.1

A GraphQL printer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mod argument;
pub mod definition;
mod directive;
pub mod executable;
mod string_value;
pub mod value;

use std::fmt::{Error, Write};

fn write_indent<W: Write>(f: &mut W, indentation: usize) -> Result<(), Error> {
    write!(f, "{: >1$}", "", indentation)
}

const INDENTATION_SIZE: usize = 2;