cynic-parser 0.4.5

A fast, correct and easy to use GraphQL parser
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
pub struct Span {
    pub start: usize,
    pub end: usize,
}

impl Span {
    pub fn new(start: usize, end: usize) -> Self {
        Self { start, end }
    }
}