pub struct DocumentSyntax<'src> {
pub trailing_trivia: Vec<GraphQLTriviaToken<'src>>,
}Expand description
Syntax detail for a Document.
Fields§
§trailing_trivia: Vec<GraphQLTriviaToken<'src>>Trailing trivia at end-of-file (after the last definition). Captures whitespace, comments, etc. that would otherwise be lost.
Trait Implementations§
Source§impl<'src> Clone for DocumentSyntax<'src>
impl<'src> Clone for DocumentSyntax<'src>
Source§fn clone(&self) -> DocumentSyntax<'src>
fn clone(&self) -> DocumentSyntax<'src>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'src> Debug for DocumentSyntax<'src>
impl<'src> Debug for DocumentSyntax<'src>
Source§impl<'src> PartialEq for DocumentSyntax<'src>
impl<'src> PartialEq for DocumentSyntax<'src>
impl<'src> StructuralPartialEq for DocumentSyntax<'src>
Auto Trait Implementations§
impl<'src> Freeze for DocumentSyntax<'src>
impl<'src> RefUnwindSafe for DocumentSyntax<'src>
impl<'src> Send for DocumentSyntax<'src>
impl<'src> Sync for DocumentSyntax<'src>
impl<'src> Unpin for DocumentSyntax<'src>
impl<'src> UnsafeUnpin for DocumentSyntax<'src>
impl<'src> UnwindSafe for DocumentSyntax<'src>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more